TraMLFile#
- class pyopenms.TraMLFile#
Bases:
object
Cython implementation of _TraMLFile
Original C++ documentation is available here
Methods
Overload:
isSemanticallyValid
(self, filename, errors, ...)Checks if a file is valid with respect to the mapping file and the controlled vocabulary
load
(self, filename, id)Loads a map from a TraML file
store
(self, filename, id)Stores a map in a TraML file
- isSemanticallyValid(self, filename: bytes | str | String, errors: List[bytes], warnings: List[bytes]) bool #
Checks if a file is valid with respect to the mapping file and the controlled vocabulary
- Parameters:
filename – File name of the file to be checked
errors – Errors during the validation are returned in this output parameter
warnings – Warnings during the validation are returned in this output parameter
- load(self, filename: bytes | str | String, id: TargetedExperiment) None #
Loads a map from a TraML file
- store(self, filename: bytes | str | String, id: TargetedExperiment) None #
Stores a map in a TraML file