Skip to content

Commit 1501fd8

Browse files
updated thermo library to version to 5.0.0.6
added extra log statement with the number of scans being processed
1 parent b7b4839 commit 1501fd8

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FROM mono:latest
55
LABEL base_image="mono:latest"
66
LABEL version="1"
77
LABEL software="ThermoRawFileParser"
8-
LABEL software.version="1.1.4"
8+
LABEL software.version="1.1.7"
99
LABEL about.summary="A software to convert Thermo RAW files to mgf and mzML"
1010
LABEL about.home="https://github.com/compomics/ThermoRawFileParser"
1111
LABEL about.documentation="https://github.com/compomics/ThermoRawFileParser"

Dockerfile_basic

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FROM mono:latest
55
LABEL base_image="mono:latest"
66
LABEL version="1"
77
LABEL software="ThermoRawFileParser"
8-
LABEL software.version="1.1.4"
8+
LABEL software.version="1.1.7"
99
LABEL about.summary="A software to convert Thermo RAW files to mgf and mzML"
1010
LABEL about.home="https://github.com/compomics/ThermoRawFileParser"
1111
LABEL about.documentation="https://github.com/compomics/ThermoRawFileParser"

Writer/MgfSpectrumWriter.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ public override void Write(IRawDataPlus rawFile, int firstScanNumber, int lastSc
2929
ConfigureWriter(".mgf");
3030
using (Writer)
3131
{
32+
Log.Info("Processing " + (lastScanNumber - firstScanNumber) + " scans");
33+
3234
for (var scanNumber = firstScanNumber; scanNumber <= lastScanNumber; scanNumber++)
3335
{
3436
// Get each scan from the RAW file

Writer/MzMlSpectrumWriter.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ public override void Write(IRawDataPlus rawFile, int firstScanNumber, int lastSc
9292

9393
try
9494
{
95+
Log.Info("Processing " + (lastScanNumber - firstScanNumber) + " scans");
96+
9597
_writer.WriteStartDocument();
9698

9799
if (_doIndexing)
@@ -943,7 +945,7 @@ private SpectrumType ConstructSpectrum(int scanNumber)
943945
accession = "MS:1000285",
944946
value = scan.ScanStatistics.TIC.ToString(CultureInfo.InvariantCulture),
945947
cvRef = "MS"
946-
});
948+
});
947949

948950
double? basePeakMass = null;
949951
double? basePeakIntensity = null;

0 commit comments

Comments
 (0)