Skip to content

Commit 135f29b

Browse files
committed
Fix bugs in ed17a97
1 parent f006c4b commit 135f29b

File tree

3 files changed

+45291
-44673
lines changed

3 files changed

+45291
-44673
lines changed

MSFragger-GUI/src/com/dmtavt/fragpipe/cmd/CmdSpecLibGen.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public boolean configure(Component comp, SpecLibGen2 slg, Map<LcmsFileGroup, Pat
155155

156156
Path unimodPath;
157157
try {
158-
unimodPath = getUnimodOboPath("unimod_old.obo"); // Use the same old unimod file as in OpenMS to avoid an error due to mismatches of some modifications.
158+
unimodPath = getUnimodOboPath("unimod_old.xml"); // Use the same old unimod file as in OpenMS to avoid an error due to mismatches of some modifications.
159159
} catch (Exception ex) {
160160
ex.printStackTrace();
161161
return false;
@@ -166,7 +166,7 @@ public boolean configure(Component comp, SpecLibGen2 slg, Map<LcmsFileGroup, Pat
166166
final String fragment_types = speclibPanel.getEasypqp_fragment_types(); // EasyPQP convert
167167
final double rt_lowess_fraction = speclibPanel.getEasypqpRTLowessFraction(); // EasyPQP library
168168

169-
cmd.add(OsUtils.asSingleArgument(String.format("--unimod %s --max_delta_unimod %s --max_delta_ppm %s --fragment_types %s %s", unimodPath.toAbsolutePath(), max_delta_unimod, max_delta_ppm, fragment_types.replace("'", "\\'"), speclibPanel.hasNeutralLoss() ? "--enable_unspecific_losses" : ""))); // EasyPQP convert args
169+
cmd.add(OsUtils.asSingleArgument(String.format("--unimod %s --max_delta_unimod %s --max_delta_ppm %s --fragment_types %s %s", unimodPath.toAbsolutePath().toString().replace("\\", "/"), max_delta_unimod, max_delta_ppm, fragment_types.replace("'", "\\'"), speclibPanel.hasNeutralLoss() ? "--enable_unspecific_losses" : ""))); // EasyPQP convert args
170170

171171
cmd.add(OsUtils.asSingleArgument(String.format("--rt_lowess_fraction %s", rt_lowess_fraction))); // EasyPQP library args
172172

0 commit comments

Comments
 (0)