JAL-3829 TDBeacons fetcher needs a sequence with at least one canonical uniprot accession
[jalview.git] / src / jalview / gui / structurechooser / StructureChooserQuerySource.java
index 1023b59..45c58cf 100644 (file)
@@ -243,7 +243,7 @@ public abstract class StructureChooserQuerySource
     // some uniprot no canonicals: prompt do fetchDb for remaining
     // no uniprot but protein: offer 3d-beacons search
     //
-    if (hasProtein && hasUniprot && !hasNA)
+    if (hasProtein && hasCanonical && !hasNA)
     {
       return tdbSource;
     }