IMP logo
IMP Reference Guide  2.9.0
The Integrative Modeling Platform
IMP.test.RunInTempDir Class Reference

Simple RAII-style class to run in a temporary directory. More...

Inherits object.

Detailed Description

Simple RAII-style class to run in a temporary directory.

When the object is created, the temporary directory is created and becomes the current working directory. When the object goes out of scope, the working directory is reset and the temporary directory deleted.

Deprecated:
As of IMP release 2.7. See the IMP Deprecation Policy for more information about deprecation in IMP. Use temporary_working_directory() instead.
Note
This class is only available in Python.

Definition at line 359 of file test/__init__.py.


The documentation for this class was generated from the following file: