if signature is None:
env.sos_dict.set("__step_sig__", None)
else:
env.sos_dict.set("__step_sig__", os.path.basename(signature.proc_info).split(".")[0])
SoS_exec(task, sigil)
os.chdir(orig_dir)
except Exception as e:
After Change
(from SoS env.sos_dict). This function should be self-contained in that
it can be handled by a task manager, be executed locally in a separate
process or remotely on a different machine."""
with open(task_file, "rb") as task:
params = pickle.load(task)
task, global_def, global_sigil, sos_dict, sigil = params.data