import jalview.fts.api.FTSData;
import jalview.gui.structurechooser.PDBStructureChooserQuerySource;
import jalview.gui.structurechooser.StructureChooserQuerySource;
+import jalview.gui.structurechooser.ThreeDBStructureChooserQuerySource;
import jalview.jbgui.FilterOption;
import jalview.ws.params.InvalidArgumentException;
public void buildQueryTest()
{
System.out.println("seq >>>> " + seq);
- StructureChooserQuerySource scquery = StructureChooserQuerySource.getPDBfts();
+
+ StructureChooserQuerySource scquery = StructureChooserQuerySource.getQuerySourceFor(new SequenceI[] { seq});
+ assertTrue(scquery instanceof PDBStructureChooserQuerySource);
String query = scquery.buildQuery(seq);
assertEquals("pdb_id:1tim", query);
seq.getAllPDBEntries().clear();