Skip to content

Commit 2b9e28f

Browse files
committed
Astral model
1 parent 233b898 commit 2b9e28f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

RawFileParser.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ private static void ProcessFile(ParseInput parseInput)
138138
// selected instrument to the MS instrument, first instance of it
139139
var firstScanNumber = -1;
140140
var lastScanNumber = -1;
141+
141142
if (rawFile.GetInstrumentCountOfType(Device.MS) != 0)
142143
{
143144
rawFile.SelectInstrument(Device.MS, 1);

Writer/MzMlSpectrumWriter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ public override void Write(IRawDataPlus rawFile, int firstScanNumber, int lastSc
240240
_writer.WriteStartElement("referenceableParamGroup");
241241
_writer.WriteAttributeString("id", "commonInstrumentParams");
242242

243-
var instrumentModel = OntologyMapping.getInstrumentModel(instrumentData.Name);
243+
var instrumentModel = OntologyMapping.getInstrumentModel(instrumentData.Model);
244244
SerializeCvParam(instrumentModel);
245245

246246
SerializeCvParam(new CVParamType

0 commit comments

Comments
 (0)