Comparing version 1.11.0 to 1.11.1
{ | ||
"name": "peptide", | ||
"version": "1.11.0", | ||
"version": "1.11.1", | ||
"description": "Peptide", | ||
@@ -24,3 +24,3 @@ "keywords": [ | ||
], | ||
"gitHead": "f89522c67fa933bbc753d670869d64bf0f460547" | ||
"gitHead": "3357658b99069e3a03c06471bc374c5effb919d8" | ||
} |
@@ -143,3 +143,3 @@ 'use strict'; | ||
it('Check AKDR internal fragment zc', function () { | ||
it('Check AKDR internal fragment zc', () => { | ||
let sequence = PEP.convertAASequence('AKDR'); | ||
@@ -146,0 +146,0 @@ sequence = PEP.allowNeutralLoss(sequence); |
'use strict'; | ||
module.exports = function (mf, options) { | ||
module.exports = function generatePeptideFragments(mf, options) { | ||
if (options === undefined) { | ||
@@ -5,0 +5,0 @@ options = { |
@@ -12,3 +12,3 @@ 'use strict'; | ||
exports.getInfo = function () { | ||
exports.getInfo = () => { | ||
return aa; | ||
@@ -22,3 +22,3 @@ }; | ||
exports.calculateIEP = function (sequence) { | ||
exports.calculateIEP = function calculateIEP(sequence) { | ||
let aas = splitPeptide(sequence); | ||
@@ -29,3 +29,3 @@ let result = IEP.calculateIEP(aas); | ||
exports.calculateIEPChart = function (sequence) { | ||
exports.calculateIEPChart = function calculateIEPChart(sequence) { | ||
let aas = splitPeptide(sequence); | ||
@@ -36,7 +36,7 @@ let result = IEP.calculateChart(aas); | ||
exports.getColorForIEP = function (iep) { | ||
exports.getColorForIEP = function getColorForIEP(iep) { | ||
return IEP.getColor(iep); | ||
}; | ||
exports.calculateCharge = function (sequence, ph) { | ||
exports.calculateCharge = function calculateCharge(sequence, ph) { | ||
let aas = splitPeptide(sequence); | ||
@@ -43,0 +43,0 @@ return IEP.calculateCharge(aas, ph); |
44367
22