Added read_annotations_file() which reads a tab delimited file containing
annotations to identifiers along a dimension.
This commit is contained in:
@@ -53,5 +53,10 @@ class AnnotationsTest(unittest.TestCase):
|
||||
|
||||
assert h.get_annotation_names() == ['name']
|
||||
|
||||
def testReadAnnotationsFile(self):
|
||||
ann = annotations.read_annotations_file('../data/annotations.fann')
|
||||
assert ann != None
|
||||
assert ann == annotations.get_dim_handler('dim1')
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
Reference in New Issue
Block a user