Skip to content

Commit

Permalink
(feat) Allow to specifiy the pH when charging peptide
Browse files Browse the repository at this point in the history
  • Loading branch information
lpatiny committed Dec 8, 2015
1 parent c2d902f commit fdeb572
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"chemcalc": "^3.0.6",
"ml-stat": "^1.0.1",
"peaks-similarity": "^2.0.1",
"peptide": "^1.0.0",
"peptide": "^1.0.1",
"web-worker-manager": "^0.1.0"
}
}
4 changes: 2 additions & 2 deletions src/combineMFs.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ var CC = require('chemcalc');
// TODO replace from the value coming from chemcalc
var ELECTRON_MASS=5.4857990946e-4;

function combineMFs (keys) {

function combineMFs (keys, options) {
var options=options || {};

if (!Array.isArray(keys)) return [];

Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ CE.convertAASequence = function (sequence) {
return PEP.convertAASequence(sequence);
}

CE.chargePeptide = function (sequence) {
return PEP.chargePeptide(sequence);
CE.chargePeptide = function (sequence, options) {
return PEP.chargePeptide(sequence, options);
}


Expand Down

0 comments on commit fdeb572

Please sign in to comment.