throw new NoValidInputDataException("Couldn't write out alignment to file.",ex);
}
} else {
- StringBody sb = new StringBody(new jalview.io.FormatAdapter().formatSequences(format, alignment, jvsuffix), "text/plain", Charset.forName("UTF-8"));
- sb.getContentTypeParameters().put("filename", "alignment.fa");
+ StringBody sb = new StringBody(new jalview.io.FormatAdapter().formatSequences(format, alignment, jvsuffix)); // , "text/plain", Charset.forName("UTF-8"));
+ // sb.getContentTypeParameters().put("filename", "alignment.fa");
return sb;
}
}