From 5ba1d3303d3b5e56e30d0c7ff06b2ec2239d2905 Mon Sep 17 00:00:00 2001 From: Michele Berselli Date: Wed, 3 Jan 2024 11:01:54 -0500 Subject: [PATCH] . --- pipeline_utils/lib/yaml_parser.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pipeline_utils/lib/yaml_parser.py b/pipeline_utils/lib/yaml_parser.py index 12bc075..3f1f342 100644 --- a/pipeline_utils/lib/yaml_parser.py +++ b/pipeline_utils/lib/yaml_parser.py @@ -174,6 +174,8 @@ class YAMLWorkflow(YAMLTemplate): OUTPUT_PROCESSED_FILE_SCHEMA = 'Output processed file' GENERIC_QC_FILE_SCHEMA = 'Generic QC file' OUTPUT_REPORT_FILE_SCHEMA = 'Output report file' + QC_RULESET_SCHEMA = 'qc_ruleset' + QC_RULESET_PORTAL_SCHEMA = 'QC ruleset' QC_SCHEMA = 'qc' REPORT_SCHEMA = 'report' ARGUMENT_TO_BE_ATTACHED_TO_SCHEMA = 'argument_to_be_attached_to' @@ -206,6 +208,8 @@ def _arguments_input(self): argument_type = self.INPUT_FILE_SCHEMA elif type == self.PARAMETER_SCHEMA: argument_type = self.PARAMETER_SCHEMA + elif type == self.QC_RULESET_SCHEMA: + argument_type = self.QC_RULESET_PORTAL_SCHEMA argument_ = { self.ARGUMENT_TYPE_SCHEMA: argument_type, self.WORKFLOW_ARGUMENT_NAME_SCHEMA: name