SourceFile#
- class pyopenms.SourceFile#
Bases:
object
Cython implementation of _SourceFile
Original C++ documentation is available here
- __init__()#
Overload:
- __init__(self) None
Description of a file location, used to store the origin of (meta) data
Overload:
- __init__(self, in_0: SourceFile) None
Methods
Overload:
getChecksum
(self)Returns the file's checksum
getChecksumType
(self)Returns the checksum type
getFileSize
(self)Returns the file size in MB
getFileType
(self)Returns the file type
getNameOfFile
(self)Returns the file name
getNativeIDType
(self)Returns the native ID type of the spectra
getNativeIDTypeAccession
(self)Returns the nativeID of the spectra
getPathToFile
(self)Returns the file path
setChecksum
(self, in_0, in_1)Sets the file's checksum
setFileSize
(self, in_0)Sets the file size in MB
setFileType
(self, in_0)Sets the file type
setNameOfFile
(self, in_0)Sets the file name
setNativeIDType
(self, in_0)Sets the native ID type of the spectra
setNativeIDTypeAccession
(self, accesssion)Sets the native ID of the spectra
setPathToFile
(self, in_0)Sets the file path
- getChecksumType(self) int #
Returns the checksum type
- getFileSize(self) float #
Returns the file size in MB
- setFileSize(self, in_0: float) None #
Sets the file size in MB