From 5640ec0623c6d1205e62f9fe15292f32bfdab7d9 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Wed, 1 May 2024 16:15:15 +0100 Subject: [PATCH] JAL-4407 don't transfer 'local' settings - leave as default 3d-structure annotation processing --- src/jalview/gui/AssociatePdbFileWithSeq.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()); -- 1.7.10.2