diff --git a/tests/data/txinfo.gz b/tests/data/txinfo.gz index 9141213..8b33153 100644 Binary files a/tests/data/txinfo.gz and b/tests/data/txinfo.gz differ diff --git a/tests/test_uta_loading.py b/tests/test_uta_loading.py index 28595f7..902ccfb 100644 --- a/tests/test_uta_loading.py +++ b/tests/test_uta_loading.py @@ -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() @@ -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,