Skip to content

Commit 3d899ea

Browse files
committed
Fixing isolation offset handling in mzML
1 parent 6a99c84 commit 3d899ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Writer/MzMlSpectrumWriter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2219,7 +2219,7 @@ private PrecursorListType ConstructPrecursorList(int precursorScanNumber, IScanE
22192219
{
22202220
accession = "MS:1000828",
22212221
name = "isolation window lower offset",
2222-
value = offset.ToString(CultureInfo.InvariantCulture),
2222+
value = (isolationWidth.Value - offset).ToString(CultureInfo.InvariantCulture),
22232223
cvRef = "MS",
22242224
unitCvRef = "MS",
22252225
unitAccession = "MS:1000040",

0 commit comments

Comments
 (0)