Skip to content

Commit

Permalink
peak trimming for thermo files (#698)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanks authored Oct 4, 2017
1 parent 7f97073 commit c6aa813
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions TaskLayer/SearchTask/MyFileManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,7 @@ internal IMsDataFile<IMsDataScan<IMzSpectrum<IMzPeak>>> LoadFile(string origData
if (Path.GetExtension(origDataFile).Equals(".mzML", StringComparison.InvariantCultureIgnoreCase))
myMsDataFiles[origDataFile] = Mzml.LoadAllStaticData(origDataFile, topNpeaks, minRatio, trimMs1Peaks, trimMsMsPeaks);
else
{
if (trimMs1Peaks || trimMsMsPeaks)
Warn("Thermo files do not have peak trimming implemented yet");
myMsDataFiles[origDataFile] = ThermoStaticData.LoadAllStaticData(origDataFile);
}
myMsDataFiles[origDataFile] = ThermoStaticData.LoadAllStaticData(origDataFile, topNpeaks, minRatio, trimMs1Peaks, trimMsMsPeaks);

return myMsDataFiles[origDataFile];
}
Expand Down

0 comments on commit c6aa813

Please sign in to comment.