b95fc8377cebfcea77116cf939a6168176b09763,cellprofiler/modules/createbatchfiles.py,CreateBatchFiles,enter_batch_mode,#CreateBatchFiles#Any#,298

Before Change


        pipeline = workspace.pipeline
        assert isinstance(pipeline, cpp.Pipeline)
        assert not self.distributed_mode, "Distributed mode no longer supported"
        cpprefs.set_default_output_directory(self.custom_output_directory.value)
        cpprefs.set_default_image_directory(self.default_image_directory.value)
    
    def turn_off_batch_mode(self):
        """Remove any indications that we are in batch mode

After Change


        assert not self.distributed_mode, "Distributed mode no longer supported"
        default_output_directory = self.custom_output_directory.value
        default_image_directory = self.default_image_directory.value
        if os.path.isdir(default_output_directory):
            cpprefs.set_default_output_directory(default_output_directory)
        else:
            logger.info(
                "Batch file default output directory, \"%s\", does not exist" %
                default_output_directory)
        if os.path.isdir(default_image_directory):
            cpprefs.set_default_image_directory(default_image_directory)
        else:
            logger.info(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: CellProfiler/CellProfiler
Commit Name: b95fc8377cebfcea77116cf939a6168176b09763
Time: 2013-08-27
Author: leek@broadinstitute.org
File Name: cellprofiler/modules/createbatchfiles.py
Class Name: CreateBatchFiles
Method Name: enter_batch_mode


Project Name: CellProfiler/CellProfiler
Commit Name: 1229a9e514ce51720bfd669e913f5a0f761a2490
Time: 2013-08-30
Author: leek@broadinstitute.org
File Name: cellprofiler/modules/createbatchfiles.py
Class Name: CreateBatchFiles
Method Name: enter_batch_mode


Project Name: CellProfiler/CellProfiler
Commit Name: 0696cd76cdddff6e83a94915ee98858a24dfeaee
Time: 2011-05-30
Author: thouis@1fc53939-2000-0410-845c-e8453a809027
File Name: cellprofiler/modules/createbatchfiles.py
Class Name: CreateBatchFiles
Method Name: enter_batch_mode