diff --git a/LiquidBackend/Util/GlobalWorkflow.cs b/LiquidBackend/Util/GlobalWorkflow.cs index 983cac6..8f3c95e 100644 --- a/LiquidBackend/Util/GlobalWorkflow.cs +++ b/LiquidBackend/Util/GlobalWorkflow.cs @@ -316,7 +316,7 @@ public static List RunGlobalWorkflow(IEnumerable var fragScanPairs = GetSortedMsMsScans(lcmsRun); if (fragScanPairs.Count == 0) - throw new SystemException("File has not MS/MS spectra"); + throw new SystemException("File has no MS/MS spectra"); var scanPairCount = fragScanPairs.Count; @@ -672,6 +672,11 @@ internal static List GetSortedMsMsScans(LcMsRun lcmsRun) private class FragmentationScanComparer : IComparer { + /// + /// Sort by m/z, then place HCD scans before other scans + /// + /// + /// public int Compare(FragmentationScanInfo x, FragmentationScanInfo y) { if (x.PrecursorMz > y.PrecursorMz)