JAL-629 suggest not breaking out of the structure processing loop if just one structu...
authorJames Procter <j.procter@dundee.ac.uk>
Tue, 24 Jan 2023 07:51:00 +0000 (07:51 +0000)
committerJames Procter <j.procter@dundee.ac.uk>
Tue, 24 Jan 2023 07:51:00 +0000 (07:51 +0000)
src/jalview/bin/Commands.java

index 61ee1be..0c34a16 100644 (file)
@@ -412,7 +412,9 @@ public class Commands
           {
             Console.warn("Could not find sequence for argument --"
                     + Arg.STRUCTURE + "=" + val);
-            break STRUCTURE;
+            // you probably want to continue here, not break
+            // break;
+            continue;
           }
           File structureFile = null;
           if (subId.content != null && subId.content.length() != 0)