Skip to content

Commit

Permalink
Update src/fusor/fusor.py
Browse files Browse the repository at this point in the history
Co-authored-by: Kori Kuzma <[email protected]>
  • Loading branch information
katiestahl and korikuzma authored Jul 22, 2024
1 parent 1ce7f23 commit 485035c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/fusor/fusor.py
Original file line number Diff line number Diff line change
Expand Up @@ -705,8 +705,7 @@ def _normalized_gene(
gene = gene_norm_resp.gene
if use_minimal_gene_descr:
return gene, None
# TODO: remove normalize.gene from id
return Gene(id=gene.id, label=gene.label)
return Gene(id=gene_norm_resp.normalized_id, label=gene.label)
return None, f"gene-normalizer unable to normalize {query}"

def generate_nomenclature(self, fusion: Fusion) -> str:
Expand Down

0 comments on commit 485035c

Please sign in to comment.