JAL-1587 distinct calc IDs for JPredMSA and Jpred single sequence.
authorJim Procter <jprocter@dundee.ac.uk>
Mon, 17 Nov 2014 14:47:17 +0000 (14:47 +0000)
committerJim Procter <jprocter@dundee.ac.uk>
Mon, 17 Nov 2014 14:47:17 +0000 (14:47 +0000)
src/jalview/ws/jws1/JPredThread.java

index 72274de..4e95b14 100644 (file)
@@ -231,7 +231,8 @@ class JPredThread extends JWS1Thread implements WSClientI
         if (alant.sequenceRef != null)
         {
           replaceAnnotationOnAlignmentWith(alant, alant.label,
-                  "jalview.jws1.Jpred", alant.sequenceRef);
+                  "jalview.jws1.Jpred" + (this.msa == null ? "" : "MSA"),
+                  alant.sequenceRef);
         }
       }
       return new Object[]