Map<Long, AlignmentI> results = new LinkedHashMap<>();
for (WSJob job : getJobs())
{
+ if (job.getStatus().isFailed())
+ continue;
try
{
AlignmentI alignment = supplier.getResult(job);
}
else
{
- String seqString = null;
- if (seq.getEnd() >= seq.getStart()) // is it ever false?
+ String seqString = "";
+ if (seq.getEnd() >= seq.getStart()) // true if gaps only
{
seqString = seq.getSequenceAsString();
if (!submitGaps)