Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pwiz_aux/msrc/utility/vendor_api/thermo/RawFileTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ enum MatchType
{
Exact,
Contains,
ContainsNoSpaces,
StartsWith,
EndsWith,
ExactNoSpaces
Expand Down Expand Up @@ -218,6 +219,8 @@ const InstrumentNameToModelMapping nameToModelMapping[] =
{"DFS", InstrumentModelType_DFS, Exact},
{"DSQ II", InstrumentModelType_DSQ_II, Exact},
{"ISQ SERIES", InstrumentModelType_ISQ, Exact},
{"ISQEC", InstrumentModelType_ISQ, ContainsNoSpaces},
{"ISQEM", InstrumentModelType_ISQ, ContainsNoSpaces},
{"MALDI LTQ XL", InstrumentModelType_MALDI_LTQ_XL, Exact},
{"MALDI LTQ ORBITRAP", InstrumentModelType_MALDI_LTQ_Orbitrap, Exact},
{"TSQ QUANTUM", InstrumentModelType_TSQ_Quantum, Exact},
Expand Down Expand Up @@ -271,6 +274,7 @@ inline InstrumentModelType parseInstrumentModelType(const std::string& instrumen
case Exact: if (mapping.name == type) return mapping.modelType; break;
case ExactNoSpaces: if (mapping.name == typeNoSpaces) return mapping.modelType; break;
case Contains: if (bal::contains(type, mapping.name)) return mapping.modelType; break;
case ContainsNoSpaces: if (bal::contains(typeNoSpaces, mapping.name)) return mapping.modelType; break;
case StartsWith: if (bal::starts_with(type, mapping.name)) return mapping.modelType; break;
case EndsWith: if (bal::ends_with(type, mapping.name)) return mapping.modelType; break;
default:
Expand Down
2 changes: 1 addition & 1 deletion pwiz_tools/Shared/ProteowizardWrapper/MsDataFileImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1747,7 +1747,7 @@ public void Write(string path)
MSDataFile.write(_msDataFile, path);
}

public void Dispose()
public virtual void Dispose()
{
_lastSpectrum?.Dispose();
_lastScanIndex = -1;
Expand Down
206 changes: 204 additions & 2 deletions pwiz_tools/Skyline/Alerts/AlertsResources.designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading