예제 #1
0
 def test_bigread(self):
     rdr = NewickReader()
     t1 = rdr.read(BIG_TREE_FILE)
     t1._validate()
     t1._dump()
     assert (t1.count_nodes() == 182)
     assert (t1.count_branches() == 181)
예제 #2
0
	def test_bigread (self):
		rdr = NewickReader()
		t1 = rdr.read (BIG_TREE_FILE)
		t1._validate()
		t1._dump()
		assert (t1.count_nodes() == 182)
		assert (t1.count_branches() == 181)
예제 #3
0
def test_annotated_tree():
    rdr = NewickReader({'node_annotations': True})
    t1 = rdr.read(ANN_TREE_FILE)
    t1._validate()
    t1._dump()
    assert (t1.count_nodes() == 182)
    assert (t1.count_branches() == 181)


### END ####################################################################
예제 #4
0
def test_annotated_tree():
	rdr = NewickReader({'node_annotations': True})
	t1 = rdr.read (ANN_TREE_FILE)
	t1._validate()
	t1._dump()
	assert (t1.count_nodes() == 182)
	assert (t1.count_branches() == 181)
	

### END ####################################################################
예제 #5
0
 def test_big2(self):
     rdr = NewickReader({'node_annotations': True})
     t1 = rdr.read(BIG_TREE_2_FILE)
     t1._validate()
     t1._dump()
예제 #6
0
	def test_big2 (self):
		rdr = NewickReader({'node_annotations': True})
		t1 = rdr.read (BIG_TREE_2_FILE)
		t1._validate()
		t1._dump()