diff --git a/tests/test_commands.py b/tests/test_commands.py index db98b7fa..5ca63fc3 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -430,12 +430,12 @@ def test_update(self): self.assertTrue(test_refpkg.svc is not None) return - def test_tmp(self): - from treesapp import commands - os.chdir("/home/connor/Desktop/NrfA") - cmd = "-i nrfA_refseq-protein-212.hits99.fasta -c nrfA --headless --fast -o nrfA_S1 --accession2lin nrfA_refseq-protein-212.hits99.acc_id_lin_map2.tsv --overwrite -n 8" - commands.create(cmd.split()) - return + # def test_tmp(self): + # from treesapp import commands + # os.chdir("") + # cmd = "" + # commands.create(cmd.split()) + # return if __name__ == '__main__': diff --git a/tests/test_update_refpkg.py b/tests/test_update_refpkg.py index 164df888..421eb738 100644 --- a/tests/test_update_refpkg.py +++ b/tests/test_update_refpkg.py @@ -37,7 +37,7 @@ def test_simulate_entrez_records(self): fa.header_registry = register_headers(list(fa.fasta_dict.keys())) lin_map = {"AB-750_E14_NODE_11_length_29119_cov_8.74474_ID_15_7": "d__Bacteria;p__Proteobacteria", "2509738965_Desulfomonile_tiedjei_DCB|HgcB|1_200": "d__Bacteria; p__Proteobacteria; c__Deltaproteobacteria; o__Syntrophobacterales; f__Syntrophaceae"} - fa.change_dict_keys("num") + fa.change_dict_keys("num_id") # Test to ensure sequences with same prefix have different EntrezRecord instances entrez_records = simulate_entrez_records(fasta_records=fa, seq_lineage_map=lin_map)