From f4706aa1c5c7ce27bfa80586bc4e17ba0e8ab3db Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 3 Sep 2021 17:01:43 +0100 Subject: [PATCH] =?utf8?q?JAL-3829=20comments=20on=20the=203D=20structure=20?= =?utf8?q?chooser=E2=80=99s=20initialisation=20process?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/jalview/gui/StructureChooser.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/jalview/gui/StructureChooser.java b/src/jalview/gui/StructureChooser.java index 86158da..a83adcb 100644 --- a/src/jalview/gui/StructureChooser.java +++ b/src/jalview/gui/StructureChooser.java @@ -134,6 +134,14 @@ public class StructureChooser extends GStructureChooser @Override public void run() { + // looks for any existing structures already loaded + // for the sequences (the cached ones) + // then queries the StructureChooserQuerySource to + // discover more structures. + // + // Possible optimisation is to only begin querying + // the structure chooser if there are no cached structures. + long startTime = System.currentTimeMillis(); updateProgressIndicator(MessageManager .getString("status.loading_cached_pdb_entries"), startTime); -- 1.7.10.2