JAL-629 need to delay call to AlignFile.parse() if StructureFile needs to configure...
[jalview.git] / src / jalview / ext / jmol / JmolParser.java
index 37b3d68..2bc4869 100644 (file)
@@ -251,8 +251,8 @@ public class JmolParser extends StructureFile implements JmolStatusListener
         {
           AnnotationRowBuilder builder = null;
           String tempFString = null;
-          if (isAlphafoldModel() || this
-                  .getTemperatureFactorType() == StructureImportSettings.TFType.PLDDT)
+          if (isAlphafoldModel() || StructureImportSettings.TFType.PLDDT
+                  .equals(getTemperatureFactorType()))
           {
             builder = new AlphaFoldAnnotationRowBuilder();
           }