import jalview.ws.jws2.Jws2Discoverer;
import jalview.ws.jws2.SequenceAnnotationWSClient;
import jalview.ws.jws2.jabaws2.Jws2Instance;
-import jalview.ws.params.ArgumentI;
import jalview.ws.params.AutoCalcSetting;
import java.awt.Component;
}
}
- 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);
opts.add(rg);
}
}
+
+ assertNotNull(jpredws);
jpredClient = new JPred301Client(jpredws, af, null, opts);
af.getViewport().getCalcManager().startWorker(jpredClient);
*/
package jalview.ws.jabaws;
-import static org.junit.Assert.*;
-
-import java.awt.Component;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
-import java.util.Vector;
-
-import javax.swing.JMenu;
-import javax.swing.JMenuItem;
-
-import jalview.api.AlignCalcManagerI;
-import jalview.datamodel.AlignmentAnnotation;
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
import jalview.datamodel.AlignmentI;
-import jalview.datamodel.Annotation;
import jalview.gui.Jalview2XML;
import jalview.io.AnnotationFile;
import jalview.io.FormatAdapter;
import jalview.io.StockholmFileTest;
-import jalview.ws.jws2.AADisorderClient;
import jalview.ws.jws2.Jws2Discoverer;
import jalview.ws.jws2.RNAalifoldClient;
import jalview.ws.jws2.SequenceAnnotationWSClient;
-import jalview.ws.jws2.dm.JabaOption;
import jalview.ws.jws2.jabaws2.Jws2Instance;
import jalview.ws.params.AutoCalcSetting;
+import java.awt.Component;
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.swing.JMenu;
+import javax.swing.JMenuItem;
+
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
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);
opts.add(rg);
}
}
+
+ assertNotNull(rnaalifoldws);
alifoldClient = new RNAalifoldClient(rnaalifoldws, af, null, opts);
af.getViewport().getCalcManager().startWorker(alifoldClient);