swamp.mr.mrresults module¶
-
class
MrResults
(swamp_workdir, logger=None)[source]¶ Bases:
object
Class to handle the results py:obj:~swamp.mr.mrarray.MrArray instance
Parameters: - swamp_workdir (str) – the
MrArray
working directory - logger (SwampLogger) – logging interface for the MR pipeline (default None)
Variables: -
static
is_rundir
(dir)[source]¶ Check if a given directory is a valid swamp-mr run directory
Parameters: dir (str) – directory of interest Returns: True if the input directory is an existing swamp run directory otherwise False
-
static
is_searchdir
(dir)[source]¶ Check if a given directory is a swamp-mr search directory
Parameters: dir (str) – directory of interest Returns: True if the input directory is a swamp search directory otherwise False
-
logger_header
¶ Header used whe initialising the
SwampLogger
- swamp_workdir (str) – the