From 0ab081f79e1b2e881c6350098a755243dc934523 Mon Sep 17 00:00:00 2001 From: Celine Mercier Date: Wed, 4 Oct 2017 15:50:32 +0200 Subject: [PATCH] Updated obi test to work with changes in taxonomy API --- python/obitools3/commands/test.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/obitools3/commands/test.pyx b/python/obitools3/commands/test.pyx index 1132b49..89d9122 100644 --- a/python/obitools3/commands/test.pyx +++ b/python/obitools3/commands/test.pyx @@ -42,9 +42,9 @@ default_config = { def test_taxo(config, infos): - tax1 = Taxonomy.open(infos['dms'], config['obi']['taxo'], taxdump=True) + tax1 = Taxonomy.open_taxdump(infos['dms'], config['obi']['taxo']) tax1.write(TAXTEST) - tax2 = Taxonomy.open(infos['dms'], TAXTEST, taxdump=False) + tax2 = Taxonomy.open(infos['dms'], TAXTEST) assert len(tax1) == len(tax2), "Length of written taxonomy != length of read taxdump : "+str(len(tax2))+" != "+str(len(tax1)) i = 0