String pdbId;
- @BeforeMethod
+ @BeforeMethod(alwaysRun = true)
public void setup() throws Exception
{
Cache.applicationProperties.setProperty("STRUCT_FROM_PDB",
AlignFrame af = loader.LoadFileWaitTillLoaded(pdbStr,
FormatAdapter.FILE);
al = af.getViewport().getAlignment();
- pdbId = al.getSequenceAt(0).getDatasetSequence().getPDBId()
+ pdbId = al.getSequenceAt(0).getDatasetSequence().getAllPDBEntries()
.get(0).getId();
}
/**
* @throws java.lang.Exception
*/
- @BeforeClass
+ @BeforeClass(alwaysRun = true)
public static void setUpBeforeClass() throws Exception
{
jalview.bin.Jalview.main(new String[]
{
sq = sq.getDatasetSequence();
}
- assertNotNull(sq.getPDBId());
- assertEquals("Expected only one PDB ID", sq.getPDBId().size(), 1);
- for (PDBEntry pdbentry : sq.getPDBId())
+ assertNotNull(sq.getAllPDBEntries());
+ assertEquals("Expected only one PDB ID", sq.getAllPDBEntries().size(), 1);
+ for (PDBEntry pdbentry : sq.getAllPDBEntries())
{
System.err.println("PDB Entry " + pdbentry.getId() + " "
+ pdbentry.getFile());