JAL-2103 fallback to returning trimmed profile if full width MSA not available
authorJim Procter <jprocter@issues.jalview.org>
Thu, 12 May 2016 11:24:50 +0000 (12:24 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Thu, 12 May 2016 11:25:16 +0000 (12:25 +0100)
src/jalview/ws/jws1/JPredThread.java

index da53ef5..ff65d05 100644 (file)
@@ -109,7 +109,7 @@ class JPredThread extends JWS1Thread implements WSClientI
               getGapChar(), SequenceInfo, this.msa != null,
               this.predMap,
               result.getPredfile(), result.getAligfile(),
-              getFullAlignmentSource());
+              (msa == null) ? getFullAlignmentSource() : null);
       return resview; // Alignment, ColumnSelection
     }