Post

MzMLWriter.AddProcessingMethod

Adds a processing method to the current data processing entry.


Remarks

Call AddDataProcessing first. Without it, AddProcessingMethod does nothing.


Syntax

SyntaxDescription
AddProcessingMethod(string softwareRef)Adds a processing method to the current data processing entry. Does nothing if AddDataProcessing has not been called.

Parameters

NameTypeDescription
softwareRefstringThe id of the software that performed it.

Example

1
2
3
4
5
6
7
8
9
10
using Nova.Io.Write;

MzMLWriter writer = new MzMLWriter();
writer.AddSoftware("Xcalibur", "4.5");
writer.AddSoftware("Nova", "1.1.0");

// Methods are numbered in the order they are added.
writer.AddDataProcessing("DP1");
writer.AddProcessingMethod("Xcalibur");
writer.AddProcessingMethod("Nova");
This post is licensed under CC BY 4.0 by the author.

Trending Tags