Introduced DbRefEntry to DasSourceCoordinateSystem check to only call sources for...
[jalview.git] / src / jalview / io / ModellerDescription.java
index 62e1fbe..1e4f905 100755 (executable)
@@ -234,7 +234,7 @@ public class ModellerDescription
           {\r
             // JBPNote PDB dbRefEntry needs properties to propagate onto ModellerField\r
             // JBPNote Need to get info from the user about whether the sequence is the one being modelled, or if it is a template.\r
-            if (dref.getSource().equals("PDB"))\r
+            if (dref.getSource().equals(jalview.datamodel.DBRefSource.PDB))\r
             {\r
               fields.put(Fields[LOCALID], dref.getAccessionId());\r
               t = 2;\r