Skip to content
Snippets Groups Projects
Commit 3d8ea80d authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

TMSS-189: use same generator for calibration schema as for observation schema

parent b936ee19
No related branches found
No related tags found
1 merge request!182Resolve TMSS-189 (and TMSS-192)
......@@ -31,10 +31,12 @@ def create_subtasks_from_task_blueprint(task_blueprint: TaskBlueprint) -> [Subta
# fixed mapping from template name to generator functions which create the list of subtask(s) for this task_blueprint
generators_mapping = {'observation schema': [create_observation_control_subtask_from_task_blueprint,
create_qafile_subtask_from_task_blueprint,
create_qaplots_subtask_from_task_blueprint],
create_qafile_subtask_from_task_blueprint,
create_qaplots_subtask_from_task_blueprint],
'preprocessing schema': [create_preprocessing_subtask_from_task_blueprint]}
generators_mapping['calibrator schema'] = generators_mapping['observation schema']
template_name = task_blueprint.specifications_template.name
if template_name in generators_mapping:
generators = generators_mapping[template_name]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment