Skip to content

Commit

Permalink
Merge pull request #598 from monarch-initiative/Issue597
Browse files Browse the repository at this point in the history
Removed taxon-labels map requirement from hgnc gene ingest.
  • Loading branch information
kevinschaper authored Aug 23, 2024
2 parents 712ac2d + cf1ff73 commit a668fa6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions src/monarch_ingest/ingests/hgnc/gene.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from biolink_model.datamodel.pydanticmodel_v2 import Gene

koza_app = get_koza_app("hgnc_gene")
taxon_labels = koza_app.get_map("taxon-labels")

while (row := koza_app.get_row()) is not None:

Expand All @@ -25,7 +24,7 @@
)

in_taxon = "NCBITaxon:9606"
in_taxon_label = taxon_labels[in_taxon]["label"]
in_taxon_label = "Homo sapiens"

gene = Gene(
id=row["hgnc_id"],
Expand Down
3 changes: 0 additions & 3 deletions src/monarch_ingest/ingests/hgnc/gene.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ columns:
- mane_select
- gencc

depends_on:
- './src/monarch_ingest/maps/taxon-labels.yaml'

node_properties:
- 'id'
- 'category'
Expand Down

0 comments on commit a668fa6

Please sign in to comment.