From df0734bbe3c42eb4e1d2e6471040888c85801ba5 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Mon, 7 May 2018 17:43:56 +0100 Subject: [PATCH] JAL-2321 use configured values for structure derived annotation --- src/jalview/structure/StructureSelectionManager.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/jalview/structure/StructureSelectionManager.java b/src/jalview/structure/StructureSelectionManager.java index 34ca6ba..cd986c0 100644 --- a/src/jalview/structure/StructureSelectionManager.java +++ b/src/jalview/structure/StructureSelectionManager.java @@ -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) -- 1.7.10.2