Merge branch 'develop' into update_212_Dec_merge_with_21125_chamges
[jalview.git] / src / jalview / ws / jws2 / SequenceAnnotationWSClient.java
index a93cfa0..29343f2 100644 (file)
@@ -151,7 +151,16 @@ public class SequenceAnnotationWSClient extends Jws2Client
         });
       }
     }
-    if (sh.action.toLowerCase(Locale.ROOT).contains("disorder"))
+    else
+    {
+      startSeqAnnotationWorker(sh, alignFrame, preset, editParams);
+    }
+  }
+
+  private void startSeqAnnotationWorker(ServiceWithParameters sh,
+      AlignFrame alignFrame, WsParamSetI preset, boolean editParams)
+  {
+    if (!sh.isInteractiveUpdate())
     {
       // build IUPred style client. take sequences, returns annotation per
       // sequence.