Skip to content

Commit 0ebf374

Browse files
authored
Revert "quick fix file loading done (#2064)" (#2078)
This reverts commit 2600c70.
1 parent fc72929 commit 0ebf374

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

TaskLayer/GlycoSearchTask/GlycoSearchTask.cs

-2
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ protected override MyTaskResults RunSpecific(string OutputFolder, List<DbForTask
9999
Status("Getting ms2 scans...", thisId);
100100

101101
Ms2ScanWithSpecificMass[] arrayOfMs2ScansSortedByMass = GetMs2Scans(myMsDataFile, origDataFile, combinedParams).OrderBy(b => b.PrecursorMass).ToArray();
102-
myFileManager.DoneWithFile(origDataFile);
103-
104102
List<GlycoSpectralMatch>[] newCsmsPerMS2ScanPerFile = new List<GlycoSpectralMatch>[arrayOfMs2ScansSortedByMass.Length];
105103

106104
for (int currentPartition = 0; currentPartition < CommonParameters.TotalPartitions; currentPartition++)

TaskLayer/XLSearchTask/XLSearchTask.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ protected override MyTaskResults RunSpecific(string OutputFolder, List<DbForTask
9595
Status("Getting ms2 scans...", thisId);
9696

9797
Ms2ScanWithSpecificMass[] arrayOfMs2ScansSortedByMass = GetMs2Scans(myMsDataFile, origDataFile, combinedParams).OrderBy(b => b.PrecursorMass).ToArray();
98-
myFileManager.DoneWithFile(origDataFile);
98+
9999
List<CrosslinkSpectralMatch>[] newCsmsPerMS2ScanPerFile = new List<CrosslinkSpectralMatch>[arrayOfMs2ScansSortedByMass.Length];
100100
for (int currentPartition = 0; currentPartition < CommonParameters.TotalPartitions; currentPartition++)
101101
{

0 commit comments

Comments
 (0)