Skip to content

Commit

Permalink
Fix a serious bug that does not include any variable modification.
Browse files Browse the repository at this point in the history
  • Loading branch information
fcyu committed Nov 4, 2017
1 parent 4c3b840 commit 5325db3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/proteomics/Index/BuildIndex.java
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ private void getVarModParams(String v, Set<VarModParam> varModParamSet, Set<Bina
binaryModParamSet.add(new BinaryModParam(modMass, aas));
} else {
for (int i = 0; i < aas.length(); ++i) {
if (!fix_mod_map.containsKey(aas.charAt(i))) {
if (Math.abs(fix_mod_map.get(aas.charAt(i))) <= varModMassResolution) {
varModParamSet.add(new VarModParam(modMass, aas.charAt(i)));
}
}
Expand Down

0 comments on commit 5325db3

Please sign in to comment.