System.out.println("State of rnaalifoldws: " + rnaalifoldws);
+ if (rnaalifoldws == null)
+ {
+ System.exit(0);
+ }
+
jalview.io.FileLoader fl = new jalview.io.FileLoader(false);
af = fl.LoadFileWaitTillLoaded(testseqs, jalview.io.FormatAdapter.FILE);
String aligfileout = new FormatAdapter().formatSequences("PFAM",
al.getSequencesArray());
- String anfileout = new AnnotationFile().printAnnotations(
- al.getAlignmentAnnotation(), al.getGroups(),
- al.getProperties());
+ String anfileout = new AnnotationFile()
+ .printAnnotationsForAlignment(al);
assertTrue(
"Test "
+ testname
opts.add(rg);
}
}
-
- assertNotNull(rnaalifoldws);
alifoldClient = new RNAalifoldClient(rnaalifoldws, af, null, opts);
af.getViewport().getCalcManager().startWorker(alifoldClient);
// write out parameters
jalview.gui.AlignFrame nalf = null;
assertTrue("Couldn't write out the Jar file",
- new Jalview2XML(false).SaveAlignment(af,
+ new Jalview2XML(false).saveAlignment(af,
"testRnalifold_param.jar", "trial parameter writeout"));
assertTrue("Couldn't read back the Jar file", (nalf = new Jalview2XML(
- false).LoadJalviewAlign("testRnalifold_param.jar")) != null);
+ false).loadJalviewAlign("testRnalifold_param.jar")) != null);
if (nalf != null)
{
AutoCalcSetting acs = af.getViewport().getCalcIdSettingsFor(