JAL-2321 use configured values for structure derived annotation
[jalview.git] / src / jalview / structure / StructureSelectionManager.java
index 34ca6ba..cd986c0 100644 (file)
@@ -399,7 +399,9 @@ public class StructureSelectionManager
       // FIXME if sourceType is not null, we've lost data here
       sourceType = AppletFormatAdapter.checkProtocol(pdbFile);
       pdb = new JmolParser(false, pdbFile, sourceType);
-      pdb.addSettings(parseSecStr, parseSecStr, parseSecStr);
+      pdb.addSettings(parseSecStr && processSecondaryStructure,
+              parseSecStr && addTempFacAnnot,
+              parseSecStr && secStructServices);
       pdb.doParse();
       if (pdb.getId() != null && pdb.getId().trim().length() > 0
               && DataSourceType.FILE == sourceType)