Added read_annotations_file() which reads a tab delimited file containing

annotations to identifiers along a dimension.
This commit is contained in:
2007-02-15 22:42:55 +00:00
parent 4319e8630e
commit b17f04466b
2 changed files with 48 additions and 0 deletions

View File

@@ -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()