* \r
*/\r
@XmlAccessorType(XmlAccessType.FIELD)\r
-public final class JpredAlignment extends Alignment{\r
+public class JpredAlignment extends Alignment{\r
\r
private JpredAlignment() {\r
// This has to has a default constructor for JaxB\r
Alignment alignment = align(infile, (MsaWS<T>) thews, preset, customOptions);\r
if (serviceName.equalsIgnoreCase("JpredWS")) {\r
writer.close();\r
- JpredAlignment jpred = new JpredAlignment(alignment.getSequences(), alignment.getMetadata());\r
+ JpredAlignment jpred = (JpredAlignment)alignment;\r
if (outfile != null) {\r
FileOutputStream fout = new FileOutputStream(outfile);\r
SequenceUtil.writeFastaKeepTheStream(fout, jpred.getJpredSequences(), 60);\r