DocumentIdentifier#
- class pyopenms.DocumentIdentifier(*args, **kwargs)#
Bases:
objectManage source document information
- __init__(self) None#
- __init__(self, arg: pyopenms._pyopenms_kernel.DocumentIdentifier, /) None
Attributes
Retrieve document identifier (e.g. an LSID).
Returns the file_name which is the absolute path to the file loaded
Returns the file_type (e.g. featureXML, consensusXML, mzData, mzXML, mzML, ...) of the file loaded.
Sets document identifier (e.g. an LSID).
Sets the file_name according to absolute path of the file loaded, preferably done whilst loading
Sets the file_type according to the type of the file loaded from, preferably done whilst loading
- getIdentifier#
Retrieve document identifier (e.g. an LSID)
- getLoadedFilePath#
Returns the file_name which is the absolute path to the file loaded
- getLoadedFileType#
Returns the file_type (e.g. featureXML, consensusXML, mzData, mzXML, mzML, …) of the file loaded
- setIdentifier#
Sets document identifier (e.g. an LSID)
- setLoadedFilePath#
Sets the file_name according to absolute path of the file loaded, preferably done whilst loading
- setLoadedFileType#
Sets the file_type according to the type of the file loaded from, preferably done whilst loading