Commit 4d71fee0 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Merge branch 'workflow-fixes' into 'v1.0.0'

Fixes issue # 423

See merge request !179
parents 390cb717 933b4d64
Pipeline #82581 passed with stages
in 23 minutes and 49 seconds
......@@ -311,6 +311,9 @@ class WorkflowNormalizer(Normalizer):
sec_sampling_method = self.section_run.section_sampling_method
if sec_sampling_method:
workflow_type = sec_sampling_method[-1].sampling_method
# some parsers e.g. turbomole outputs geometry optimization
if workflow_type in ['geometry optimization', 'relaxation']:
workflow_type = 'geometry_optimization'
# resolve it from parser
if not workflow_type:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment