Skip to content

Commit a6f0d12

Browse files
committed
disable precursor intensity
1 parent 7f80455 commit a6f0d12

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

Writer/MzMlSpectrumWriter.cs

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1847,23 +1847,24 @@ private PrecursorListType ConstructPrecursorList(IScanEventBase scanEvent, int?
18471847
});
18481848
}
18491849

1850-
if (selectedIonMz > ZeroDelta)
1851-
{
1852-
var selectedIonIntensity = CalculatePrecursorPeakIntensity(_rawFile, precursorScanNumber, selectedIonMz);
1853-
if (selectedIonIntensity != null)
1854-
{
1855-
ionCvParams.Add(new CVParamType
1856-
{
1857-
name = "peak intensity",
1858-
value = selectedIonIntensity.ToString(),
1859-
accession = "MS:1000042",
1860-
cvRef = "MS",
1861-
unitAccession = "MS:1000131",
1862-
unitCvRef = "MS",
1863-
unitName = "number of detector counts"
1864-
});
1865-
}
1866-
}
1850+
//Precursor intensity is disabled for now
1851+
//if (selectedIonMz > ZeroDelta)
1852+
//{
1853+
// var selectedIonIntensity = CalculatePrecursorPeakIntensity(_rawFile, precursorScanNumber, selectedIonMz);
1854+
// if (selectedIonIntensity != null)
1855+
// {
1856+
// ionCvParams.Add(new CVParamType
1857+
// {
1858+
// name = "peak intensity",
1859+
// value = selectedIonIntensity.ToString(),
1860+
// accession = "MS:1000042",
1861+
// cvRef = "MS",
1862+
// unitAccession = "MS:1000131",
1863+
// unitCvRef = "MS",
1864+
// unitName = "number of detector counts"
1865+
// });
1866+
// }
1867+
//}
18671868

18681869
precursor.selectedIonList.selectedIon[0].cvParam = ionCvParams.ToArray();
18691870

0 commit comments

Comments
 (0)