Skip to content

Commit

Permalink
feat(IPVC-2471): more test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bsgiles73 committed May 23, 2024
1 parent eb3cfb6 commit 67038f7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
Binary file modified tests/data/txinfo.gz
Binary file not shown.
15 changes: 13 additions & 2 deletions tests/test_uta_loading.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,19 @@ def test_load_txinfo(self):
type='protein-coding',
xrefs='MIM:610918,HGNC:HGNC:30397,Ensembl:ENSG00000198832,AllianceGenome:HGNC:30397',
)
g2 = usam.Gene(
gene_id='4514',
hgnc='MT-CO3',
symbol='MT-CO3',
maploc=None,
descr='mitochondrially encoded cytochrome c oxidase III',
summary='mitochondrially encoded cytochrome c oxidase III',
aliases='COIII,MTCO3',
type='protein-coding',
xrefs='GeneID:4514,HGNC:HGNC:7422,MIM:516050',
)
self.session.add(g1)

self.session.add(g2)
self.session.commit()

cf = configparser.ConfigParser()
Expand Down Expand Up @@ -207,7 +218,7 @@ def test_load_txinfo(self):
},
)

transcript.self.session.query(usam.Transcript).filter(usam.Transcript.ac == 'NC_012920.1_09206_09990').one()
transcript = self.session.query(usam.Transcript).filter(usam.Transcript.ac == 'NC_012920.1_09206_09990').one()
self.assertEqual(
{
'ac': transcript.ac,
Expand Down

0 comments on commit 67038f7

Please sign in to comment.