}
}
+ System.out.println("State of jpredws: " + jpredws);
+
+ if (jpredws == null)
+ {
+ System.exit(0);
+ }
+
jalview.io.FileLoader fl = new jalview.io.FileLoader(false);
af = fl.LoadFileWaitTillLoaded(testseqs, jalview.io.FormatAdapter.FILE);
af.getViewport().getSelectionGroup().getSequenceAt(0),
false);
af.hideSelSequences_actionPerformed(null);
-
- assertNotNull(jpredws);
jpredClient = new JPred301Client(jpredws, af, null, null);
assertTrue(
@Test
public void testJPredStructExport()
{
- assertNotNull(jpredws);
+
jpredClient = new JPred301Client(jpredws, af, null, null);
af.getViewport().getCalcManager().startWorker(jpredClient);
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(jpredws);
jpredClient = new JPred301Client(jpredws, af, null, opts);
af.getViewport().getCalcManager().startWorker(jpredClient);
// 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,
"testJPredWS_param.jar", "trial parameter writeout"));
assertTrue("Couldn't read back the Jar file", (nalf = new Jalview2XML(
- false).LoadJalviewAlign("testJpredWS_param.jar")) != null);
+ false).loadJalviewAlign("testJpredWS_param.jar")) != null);
if (nalf != null)
{
AutoCalcSetting acs = af.getViewport().getCalcIdSettingsFor(