Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
B3rse committed Feb 15, 2024
1 parent b6c4003 commit af55506
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pipeline_utils/lib/yaml_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/test_yaml_reference_genome.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down

0 comments on commit af55506

Please sign in to comment.