@staticmethod
    def getWorkflowDir(workflowID, configWorkDir=None):
        workDir = configWorkDir or os.getenv('TOIL_WORKDIR') or tempfile.gettempdir()
        if not os.path.exists(workDir):
            raise RuntimeError("The directory specified by --workDir or TOIL_WORKDIR (%s) does not "
                               "exist." % workDir)
        # Create the workflow dir
        workflowDir = os.path.join(workDir, 'toil-%s' % workflowID)
        try:
            # Directory creation is atomic
            os.mkdir(workflowDir)
        except OSError as err:
            if err.errno != 17:
                # The directory exists if a previous worker set it up.
                raise
        else:
            logger.info('Created the workflow directory at %s' % workflowDir)
        return workflowDir
Convience method for setting one or more non-data dependent
dataset/ETHPy150Open BD2KGenomics/toil/src/toil/common.py/Toil.getWorkflowDir--crossover with--dataset/ETHPy150Open pydata/pandas/pandas/formats/style.py/Styler.set_properties