BioSimSpace._Utils.WorkDir#

class BioSimSpace._Utils.WorkDir(work_dir=None)[source]#

A utility class to create a working directory.

__init__(work_dir=None)[source]#

Constructor.

Parameters:

work_dir (str) – The working directory for the context. If None, then a temporary working directory will be created.

Methods

__init__([work_dir])

Constructor.

is_temp_dir()

Whether this is a temporary directory.

is_temp_dir()[source]#

Whether this is a temporary directory.