Skip to content

Commit

Permalink
Fix a bug in C-C setting.
Browse files Browse the repository at this point in the history
  • Loading branch information
fcyu committed Jan 29, 2018
1 parent 72ba36b commit 8398aa4
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 @@ -84,7 +84,7 @@ public BuildIndex(Map<String, String> parameter_map) {
linker_mass = Float.valueOf(parameter_map.get("cl_mass")) - fix_mod_map.get('K');
}
} else if (linker_type == 2) {
linker_mass = Float.valueOf(parameter_map.get("cl_mass")) - fix_mod_map.get('C');
linker_mass = Float.valueOf(parameter_map.get("cl_mass"));
} else {
linker_mass = 0;
logger.error("The cross-linker type cannot be recognized.");
Expand Down

0 comments on commit 8398aa4

Please sign in to comment.