Merge branch 'develop' into features/r2_11_2/JAL-3829_3dbeacons
[jalview.git] / src / jalview / gui / StructureChooser.java
index 4807489..3ecca9b 100644 (file)
@@ -247,13 +247,19 @@ public class StructureChooser extends GStructureChooser
       @Override
       public void run()
       {
+        progressBar.setProgressBar("status.searching_3d_beacons", progressId);
         // TODO: warn if no accessions discovered
         populateSeqsWithoutSourceDBRef();
         // redo initial discovery - this time with 3d beacons
         // Executors.
         previousWantedFields=null;
-        
         initialStructureDiscovery();
+        if (!isStructuresDiscovered())
+        {
+          progressBar.setProgressBar("status.no_structures_discovered_from_3d_beacons", progressId);
+        } else {
+          progressBar.setProgressBar(null, progressId);
+        }
       }
     };