public String pdbid = "";
AnnotationRowBuilder tfacTemplate = new AnnotationRowBuilder(
- "TemperatureFactor");
+ "Temperature Factor");
public PDBChain(String thePdbid, String theId,
AnnotationRowBuilder template)
import static org.testng.AssertJUnit.assertSame;
import static org.testng.AssertJUnit.assertTrue;
+import java.io.IOException;
+import java.util.List;
+
+import org.testng.annotations.BeforeClass;
+import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
+
import jalview.bin.Cache;
import jalview.datamodel.Alignment;
import jalview.datamodel.AlignmentAnnotation;
import jalview.io.DataSourceType;
import jalview.structure.StructureImportSettings;
-import java.io.IOException;
-import java.util.List;
-
-import org.testng.annotations.BeforeClass;
-import org.testng.annotations.BeforeMethod;
-import org.testng.annotations.Test;
-
public class PDBfileTest
{
for (int i = 0; i < 20; i++)
{
assertNull(anns[0].annotations[i]);
- assertEquals("E", anns[0].annotations[20].displayCharacter);
+ assertNull(anns[0].annotations[20].displayCharacter);
assertEquals('E', anns[0].annotations[20].secondaryStructure);
- assertEquals("E", anns[2].annotations[18].displayCharacter);
- assertEquals("H", anns[2].annotations[23].displayCharacter);
+ assertEquals('E', anns[2].annotations[18].secondaryStructure);
+ assertEquals('H', anns[2].annotations[23].secondaryStructure);
}
}