Skip to content
Snippets Groups Projects
Commit 12f0ecd5 authored by Michael Langguth's avatar Michael Langguth
Browse files

Bugfix in if-clause for getting class instance for postprocessing and...

Bugfix in if-clause for getting class instance for postprocessing and correction to ValuError printing.
parent 2a6d4d03
No related branches found
No related tags found
No related merge requests found
......@@ -36,10 +36,10 @@ def get_runscript_cls(target_runscript_name, venv_name, lhpc):
cls_inst = Config_Preprocess2(venv_name, lhpc)
elif target_runscript_name == "train":
cls_inst = Config_Train(venv_name, lhpc)
elif target_runscript_name == "preprocess1":
elif target_runscript_name == "postprocess":
cls_inst = Config_Postprocess(venv_name, lhpc)
else:
raise ValueError("%{0}: Unknown workflow runscript '{1}'. passed.")
raise ValueError("%{0}: Unknown workflow runscript '{1}'. passed.".format(method_name, target_runscript_name))
return cls_inst
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment