From: Jim Procter Date: Wed, 1 May 2024 15:15:15 +0000 (+0100) Subject: JAL-4407 don't transfer 'local' settings - leave as default 3d-structure annotation... X-Git-Tag: Release_2_11_4_0~40^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=5640ec0623c6d1205e62f9fe15292f32bfdab7d9;p=jalview.git JAL-4407 don't transfer 'local' settings - leave as default 3d-structure annotation processing --- diff --git a/src/jalview/gui/AssociatePdbFileWithSeq.java b/src/jalview/gui/AssociatePdbFileWithSeq.java index c9951f5..b2689be 100644 --- a/src/jalview/gui/AssociatePdbFileWithSeq.java +++ b/src/jalview/gui/AssociatePdbFileWithSeq.java @@ -49,7 +49,7 @@ public class AssociatePdbFileWithSeq StructureSelectionManagerProvider ssmp) { return associatePdbWithSeq(choice, file, sequence, prompt, ssmp, - TFType.DEFAULT, null, true); + TFType.DEFAULT, null, false); } public PDBEntry associatePdbWithSeq(String choice, DataSourceType file, @@ -97,9 +97,9 @@ public class AssociatePdbFileWithSeq { entry.setFile(choice); sequence.getDatasetSequence().addPDBId(entry); + entry.setStructureFile(pdbfile); StructureSelectionManager.getStructureSelectionManager(ssmp) .registerPDBEntry(entry); - entry.setStructureFile(pdbfile); } if (tft != null) entry.setProperty("TFType", tft.name());