seqs.addElement(newSeq);
}
- if (seqs.size() > 0)
+ if (seqs.size() > 0 && QuerySeqPosition>-1)
{
// try to make annotation for a prediction only input (default if no
- // alignment is given)
+ // alignment is given and prediction contains a QUERY or align;sequence_id line)
Alignment tal = new Alignment(this.getSeqsAsArray());
try
{
IOException ex = new IOException(
"Couldn't parse concise annotation for prediction profile.\n"
+ e);
+ ex.setStackTrace(e.getStackTrace());
throw ex;
}
this.annotations = new Vector();