SourceFile

class pyopenms.SourceFile

Bases: object

Cython implementation of _SourceFile

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

__init__()
  • Cython signature: void SourceFile() Description of a file location, used to store the origin of (meta) data

  • Cython signature: void SourceFile(SourceFile &)

Methods

__init__

  • Cython signature: void SourceFile()

getChecksum

Cython signature: String getChecksum() Returns the file's checksum

getChecksumType

Cython signature: ChecksumType getChecksumType() Returns the checksum type

getFileSize

Cython signature: float getFileSize() Returns the file size in MB

getFileType

Cython signature: String getFileType() Returns the file type

getNameOfFile

Cython signature: String getNameOfFile() Returns the file name

getNativeIDType

Cython signature: String getNativeIDType() Returns the native ID type of the spectra

getNativeIDTypeAccession

Cython signature: String getNativeIDTypeAccession() Returns the nativeID of the spectra

getPathToFile

Cython signature: String getPathToFile() Returns the file path

setChecksum

Cython signature: void setChecksum(String, ChecksumType) Sets the file's checksum

setFileSize

Cython signature: void setFileSize(float) Sets the file size in MB

setFileType

Cython signature: void setFileType(String) Sets the file type

setNameOfFile

Cython signature: void setNameOfFile(String) Sets the file name

setNativeIDType

Cython signature: void setNativeIDType(String) Sets the native ID type of the spectra

setNativeIDTypeAccession

Cython signature: void setNativeIDTypeAccession(const String & accesssion) Sets the native ID of the spectra

setPathToFile

Cython signature: void setPathToFile(String) Sets the file path

getChecksum()

Cython signature: String getChecksum() Returns the file’s checksum

getChecksumType()

Cython signature: ChecksumType getChecksumType() Returns the checksum type

getFileSize()

Cython signature: float getFileSize() Returns the file size in MB

getFileType()

Cython signature: String getFileType() Returns the file type

getNameOfFile()

Cython signature: String getNameOfFile() Returns the file name

getNativeIDType()

Cython signature: String getNativeIDType() Returns the native ID type of the spectra

getNativeIDTypeAccession()

Cython signature: String getNativeIDTypeAccession() Returns the nativeID of the spectra

getPathToFile()

Cython signature: String getPathToFile() Returns the file path

setChecksum()

Cython signature: void setChecksum(String, ChecksumType) Sets the file’s checksum

setFileSize()

Cython signature: void setFileSize(float) Sets the file size in MB

setFileType()

Cython signature: void setFileType(String) Sets the file type

setNameOfFile()

Cython signature: void setNameOfFile(String) Sets the file name

setNativeIDType()

Cython signature: void setNativeIDType(String) Sets the native ID type of the spectra

setNativeIDTypeAccession()

Cython signature: void setNativeIDTypeAccession(const String & accesssion) Sets the native ID of the spectra

setPathToFile()

Cython signature: void setPathToFile(String) Sets the file path