From: Jim Procter Date: Fri, 3 Sep 2021 16:01:43 +0000 (+0100) Subject: JAL-3829 comments on the 3D structure chooser’s initialisation process X-Git-Tag: Release_2_11_2_0~39^2~24 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=f4706aa1c5c7ce27bfa80586bc4e17ba0e8ab3db;p=jalview.git JAL-3829 comments on the 3D structure chooser’s initialisation process --- 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);