final Object[] args = new Object[]
{ new FileParse(getDataName(), type) };
Object jmf = constructor.newInstance(args);
- Alignment al = new Alignment((SequenceI[]) cl.getMethod(
+ AlignmentI al = new Alignment((SequenceI[]) cl.getMethod(
"getSeqsAsArray", new Class[]
{}).invoke(jmf));
cl.getMethod("addAnnotations", new Class[]
- { AlignmentI.class }).invoke(jmf, al);
+ { Alignment.class }).invoke(jmf, al);
for (SequenceI sq : al.getSequences())
{
if (sq.getDatasetSequence() != null)