- AlignmentI al = rf.readFile(ff, AppletFormatAdapter.FILE,
- new IdentifyFile().identify(ff, AppletFormatAdapter.FILE));
+ AlignmentI al = rf.readFile(ff, DataSourceType.FILE,
+ new IdentifyFile().identify(ff, DataSourceType.FILE));
// make sure dataset is initialised ? not sure about this
for (int i = 0; i < al.getSequencesArray().length; ++i)
// make sure dataset is initialised ? not sure about this
for (int i = 0; i < al.getSequencesArray().length; ++i)
-
- // @Test(groups ={ "Functional" })
- public static void testAnnotationFileIO(String testname, File f,
+ void testAnnotationFileIO(String testname, File f,
+ testname
+ "\nAlignment was not annotated - annotation file not imported.",
new AnnotationFile().readAnnotationFile(al, cs, af,
+ testname
+ "\nAlignment was not annotated - annotation file not imported.",
new AnnotationFile().readAnnotationFile(al, cs, af,
AnnotationFile aff = new AnnotationFile();
ViewDef v = aff.new ViewDef(null, al.getHiddenSequences(), cs,
AnnotationFile aff = new AnnotationFile();
ViewDef v = aff.new ViewDef(null, al.getHiddenSequences(), cs,
+ testname
+ "\nregenerated annotation file did not annotate alignment.",
new AnnotationFile().readAnnotationFile(al_new, anfileout,
+ testname
+ "\nregenerated annotation file did not annotate alignment.",
new AnnotationFile().readAnnotationFile(al_new, anfileout,
// test for consistency in io
StockholmFileTest.testAlignmentEquivalence(al, al_new, false);
// test for consistency in io
StockholmFileTest.testAlignmentEquivalence(al, al_new, false);