Skip to content

Commit b2d705a

Browse files
committed
Flip the meaning of -x flag
1 parent 7b7854d commit b2d705a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

MainClass.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public static class MainClass
1919
private static readonly ILog Log =
2020
LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
2121

22-
public const string Version = "1.3.4";
22+
public const string Version = "1.4.0";
2323

2424
public static void Main(string[] args)
2525
{
@@ -390,11 +390,11 @@ private static void RegularParametersParsing(string[] args)
390390
},
391391
{
392392
"f=|format=",
393-
"The spectra output format: 0 for MGF, 1 for mzML, 2 for indexed mzML, 3 for Parquet. Defaults to indexed mzML if no format is specified.",
393+
"The spectra output format: 0 for MGF, 1 for mzML, 2 for indexed mzML, 3 for Parquet; both numeric and text (case insensitive) value recognized. Defaults to indexed mzML if no format is specified.",
394394
v => outputFormatString = v
395395
},
396396
{
397-
"m=|metadata=", "The metadata output format: 0 for JSON, 1 for TXT.",
397+
"m=|metadata=", "The metadata output format: 0 for JSON, 1 for TXT; both numeric and text (case insensitive) value recognized",
398398
v => metadataFormatString = v
399399
},
400400
{
@@ -422,15 +422,15 @@ private static void RegularParametersParsing(string[] args)
422422
v => parseInput.AllDetectors = v != null
423423
},
424424
{
425-
"l=|logging=", "Optional logging level: 0 for silent, 1 for verbose.",
425+
"l=|logging=", "Optional logging level: 0 for silent, 1 for verbose; both numeric and text (case insensitive) value recognized.",
426426
v => logFormatString = v
427427
},
428428
{
429429
"e|ignoreInstrumentErrors", "Ignore missing properties by the instrument.",
430430
v => parseInput.IgnoreInstrumentErrors = v != null
431431
},
432432
{
433-
"x|includeExceptionData", "Include reference and exception data",
433+
"x|excludeExceptionData", "Exclude reference and exception data",
434434
v => parseInput.ExData = v != null
435435
},
436436
{

RawFileParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ private static void ProcessFile(ParseInput parseInput)
112112
// selected instrument to the MS instrument, first instance of it
113113
rawFile.SelectInstrument(Device.MS, 1);
114114

115-
rawFile.IncludeReferenceAndExceptionData = parseInput.ExData;
115+
rawFile.IncludeReferenceAndExceptionData = !parseInput.ExData;
116116

117117
// Get the first and last scan from the RAW file
118118
var firstScanNumber = rawFile.RunHeaderEx.FirstSpectrum;

0 commit comments

Comments
 (0)