diff --git a/pipeline_utils/lib/yaml_parser.py b/pipeline_utils/lib/yaml_parser.py index f664863..8c26e96 100644 --- a/pipeline_utils/lib/yaml_parser.py +++ b/pipeline_utils/lib/yaml_parser.py @@ -726,7 +726,7 @@ def to_json( gen_json = {} # common metadata - gen_json[self.IDENTIFIER_SCHEMA] = self.name.lower() + gen_json[self.IDENTIFIER_SCHEMA] = self.name gen_json[self.ALIASES_SCHEMA] = [f'{self._string_consortia(consortia)}:{self.REFERENCEGENOME_TYPE_SCHEMA}-{self.name}_{self.version}'] gen_json[self.SUBMISSION_CENTERS_SCHEMA] = submission_centers gen_json[self.CONSORTIA_SCHEMA] = consortia diff --git a/tests/test_yaml_reference_genome.py b/tests/test_yaml_reference_genome.py index 47b5b1b..ea22947 100644 --- a/tests/test_yaml_reference_genome.py +++ b/tests/test_yaml_reference_genome.py @@ -15,7 +15,7 @@ def test_software(): {"code": "GRCh38", "title": "GRCh38 [GCA_000001405.15]", "consortia": ["cgap-core"], - "identifier": "grch38", + "identifier": "GRCh38", "submission_centers": ["hms-dbmi"], "uuid": "e89937e6-80d3-4605-8dea-4a74c7981a9f", "files": [