state = image_set_list.save_state()
state = zlib.compress(state)
bizarro_self.revision.value = version
bizarro_self.batch_state = np.array(state)
if self.wants_default_output_directory:
bizarro_self.custom_output_directory.value = \
self.alter_path(cpprefs.get_default_output_directory())
bizarro_self.default_image_directory.value = \
After Change
self.alter_path(cpprefs.get_default_image_directory())
bizarro_self.batch_mode.value = True
pipeline.write_pipeline_measurement(m)
del m
def in_batch_mode(self):
"""Tell the system whether we are in batch mode on the cluster"""
return self.batch_mode.value