File#

class pyopenms.File#

Bases: object

Cython implementation of _File

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

__init__()#

Methods

__init__()

absolutePath

Cython signature: String absolutePath(String file)

basename

Cython signature: String basename(String file)

empty

Cython signature: bool empty(String file)

exists

Cython signature: bool exists(String file)

fileList

Cython signature: bool fileList(String dir, String file_pattern, StringList output, bool full_path)

find

Cython signature: String find(String filename, StringList directories)

findDatabase

Cython signature: String findDatabase(String db_name)

findDoc

Cython signature: String findDoc(String filename)

findExecutable

Cython signature: String findExecutable(String toolName)

getExecutablePath

Cython signature: String getExecutablePath()

getOpenMSDataPath

Cython signature: String getOpenMSDataPath()

getOpenMSHomePath

Cython signature: String getOpenMSHomePath()

getSystemParameters

Cython signature: Param getSystemParameters()

getTempDirectory

Cython signature: String getTempDirectory()

getTemporaryFile

Cython signature: String getTemporaryFile(const String & alternative_file)

getUniqueName

Cython signature: String getUniqueName()

getUserDirectory

Cython signature: String getUserDirectory()

isDirectory

Cython signature: bool isDirectory(String path)

path

Cython signature: String path(String file)

readable

Cython signature: bool readable(String file)

remove

Cython signature: bool remove(String file)

removeDirRecursively

Cython signature: bool removeDirRecursively(String dir_name)

rename

Cython signature: bool rename(const String & from_, const String & to, bool overwrite_existing, bool verbose)

writable

Cython signature: bool writable(String file)

absolutePath()#

Cython signature: String absolutePath(String file)

basename()#

Cython signature: String basename(String file)

empty()#

Cython signature: bool empty(String file)

exists()#

Cython signature: bool exists(String file)

fileList()#

Cython signature: bool fileList(String dir, String file_pattern, StringList output, bool full_path)

find()#

Cython signature: String find(String filename, StringList directories)

findDatabase()#

Cython signature: String findDatabase(String db_name)

findDoc()#

Cython signature: String findDoc(String filename)

findExecutable()#

Cython signature: String findExecutable(String toolName)

getExecutablePath()#

Cython signature: String getExecutablePath()

getOpenMSDataPath()#

Cython signature: String getOpenMSDataPath()

getOpenMSHomePath()#

Cython signature: String getOpenMSHomePath()

getSystemParameters()#

Cython signature: Param getSystemParameters()

getTempDirectory()#

Cython signature: String getTempDirectory()

getTemporaryFile()#

Cython signature: String getTemporaryFile(const String & alternative_file)

getUniqueName()#

Cython signature: String getUniqueName()

getUserDirectory()#

Cython signature: String getUserDirectory()

isDirectory()#

Cython signature: bool isDirectory(String path)

path()#

Cython signature: String path(String file)

readable()#

Cython signature: bool readable(String file)

remove()#

Cython signature: bool remove(String file)

removeDirRecursively()#

Cython signature: bool removeDirRecursively(String dir_name)

rename()#

Cython signature: bool rename(const String & from_, const String & to, bool overwrite_existing, bool verbose)

writable()#

Cython signature: bool writable(String file)