import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
-import MCview.PDBfile;
+import mc_view.PDBfile;
/**
* @author jimp
public void setUp()
{
Cache.loadProperties("test/jalview/io/testProps.jvprops");
- Cache.applicationProperties.setProperty("STRUCT_FROM_PDB",
+ Cache.setPropertyNoSave("STRUCT_FROM_PDB",
Boolean.TRUE.toString());
- Cache.applicationProperties.setProperty("ADD_TEMPFACT_ANN",
+ Cache.setPropertyNoSave("ADD_TEMPFACT_ANN",
Boolean.FALSE.toString());
- Cache.applicationProperties.setProperty("ADD_SS_ANN",
+ Cache.setPropertyNoSave("ADD_SS_ANN",
Boolean.TRUE.toString());
StructureImportSettings.setDefaultStructureFileFormat("PDB");
StructureImportSettings
assertEquals(structureData.getId(), "localstruct");
assertNotNull(structureData.getSeqs());
/*
+ * local structures have a fake ID
+ */
+ assertTrue(structureData.getSeqs().get(0).getAllPDBEntries().get(0)
+ .fakedPDBId());
+ /*
* the ID is also the group for features derived from structure data
*/
String featureGroup = structureData.getSeqs().get(0)