ParamXMLFile

class pyopenms.ParamXMLFile

Bases: object

Cython implementation of _ParamXMLFile

Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS_1_1ParamXMLFile.html

The file pendant of the Param class used to load and store the param datastructure as paramXML

__init__()
  • Cython signature: void ParamXMLFile()

  • Cython signature: void ParamXMLFile(ParamXMLFile &)

Methods

__init__

  • Cython signature: void ParamXMLFile()

load

Cython signature: void load(String, Param &)

store

Cython signature: void store(String, Param &)

load()

Cython signature: void load(String, Param &)

Parameters
  • filename – The file from where to read the Param object

  • param – The param object where the read data should be stored

Raises

Exception: FileNotFound is thrown if the file could not be found

Raises

Exception: ParseError is thrown if an error occurs during parsing

store()

Cython signature: void store(String, Param &)

Parameters
  • filename – The filename where the param data structure should be stored

  • param – The Param class that should be stored in the file