Merge branch 'develop' into features/JAL-1152annotationSorting
[jalview.git] / test / jalview / io / AnnotatedPDBFileInputTest.java
index 7e99409..30b6d55 100644 (file)
@@ -23,7 +23,7 @@ public class AnnotatedPDBFileInputTest
 
   AlignmentI al;
 
-  String pdbStr = "examples/2GIS.pdb";
+  String pdbStr = "examples/1gaq.txt";
 
   String pdbId;
 
@@ -68,7 +68,7 @@ public class AnnotatedPDBFileInputTest
       {
 
         System.out.println("CalcId: " + aa.getCalcId());
-        assertTrue(MCview.PDBfile.isCalcIdForFile(aa.getCalcId(), pdbId));
+        assertTrue(MCview.PDBfile.isCalcIdForFile(aa, pdbId));
       }
     }
   }
@@ -126,7 +126,7 @@ public class AnnotatedPDBFileInputTest
   public void testJalviewProjectRelocationAnnotation() throws Exception
   {
 
-    String inFile = "examples/2GIS.pdb";
+    String inFile = "examples/1gaq.txt";
     String tfile = File.createTempFile("JalviewTest", ".jvp")
             .getAbsolutePath();
     AlignFrame af = new jalview.io.FileLoader().LoadFileWaitTillLoaded(
@@ -160,7 +160,7 @@ public class AnnotatedPDBFileInputTest
                   && MCview.PDBfile.isCalcIdHandled(ana.getCalcId()))
           {
             exists = true;
-            if (MCview.PDBfile.isCalcIdForFile(ana.getCalcId(),
+            if (MCview.PDBfile.isCalcIdForFile(ana,
                     pdbentry.getId()))
             {
               found = true;