From a7a69103cb81f7e40803cbed0beb41d05707f641 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Mon, 7 May 2018 17:39:17 +0100 Subject: [PATCH] JAL-2321 add secondary structure & temp factor if not already present on mapped sequences --- src/jalview/structure/StructureSelectionManager.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/jalview/structure/StructureSelectionManager.java b/src/jalview/structure/StructureSelectionManager.java index ad259fd..34ca6ba 100644 --- a/src/jalview/structure/StructureSelectionManager.java +++ b/src/jalview/structure/StructureSelectionManager.java @@ -398,8 +398,9 @@ public class StructureSelectionManager { // FIXME if sourceType is not null, we've lost data here sourceType = AppletFormatAdapter.checkProtocol(pdbFile); - pdb = new JmolParser(pdbFile, sourceType); - + pdb = new JmolParser(false, pdbFile, sourceType); + pdb.addSettings(parseSecStr, parseSecStr, parseSecStr); + pdb.doParse(); if (pdb.getId() != null && pdb.getId().trim().length() > 0 && DataSourceType.FILE == sourceType) { -- 1.7.10.2