/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4)
- * Copyright (C) 2008 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
+ * Jalview - A Sequence Alignment Editor and Viewer (Development Version 2.4.1)
+ * Copyright (C) 2009 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
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);
+ e.printStackTrace(); // java 1.1 does not have : ex.setStackTrace(e.getStackTrace());
throw ex;
}
this.annotations = new Vector();