JAL-2321 add secondary structure & temp factor if not already present on mapped sequences
authorJim Procter <jprocter@issues.jalview.org>
Mon, 7 May 2018 16:39:17 +0000 (17:39 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Mon, 7 May 2018 16:39:17 +0000 (17:39 +0100)
src/jalview/structure/StructureSelectionManager.java

index ad259fd..34ca6ba 100644 (file)
@@ -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)
       {