TempDir#
- class pyopenms.TempDir#
Bases:
objectA uniquely named temporary directory, removed when the object is destroyed unless keep_dir is set
- __init__(keep_dir: bool = False) None#
- __init__(base_dir: str, keep_dir: bool = False) None
Overloaded function.
__init__(keep_dir: bool = False) -> None
Create a temporary directory below SystemSettings.getTempDirectory()
__init__(base_dir: str, keep_dir: bool = False) -> None
Create a temporary directory below base_dir
Methods
__init__([keep_dir])Overloaded function.
getPath()Path of the temporary directory, with a trailing slash
- getPath() str#
Path of the temporary directory, with a trailing slash