Post

MzMLWriter.AddSoftware

Adds a software entry.


Remarks

The id is how processing methods refer to the software; see AddProcessingMethod.


Syntax

SyntaxDescription
AddSoftware(string id, string version)Adds a software entry. The ids “Xcalibur” and “pwiz” also get their standard CV terms.

Parameters

NameTypeDescription
idstringThe software id.
versionstringThe software version.

Example

1
2
3
4
5
using Nova.Io.Write;

MzMLWriter writer = new MzMLWriter();
writer.AddSoftware("Xcalibur", "4.5");   // also gets its standard CV term
writer.AddSoftware("Nova", "1.1.0");
This post is licensed under CC BY 4.0 by the author.

Trending Tags