{
Cache.log
.debug("WebServiceJob poll loop finished with no jobs created.");
+ wsInfo.setStatus(wsInfo.STATE_STOPPED_ERROR);
+ wsInfo.appendProgressText("No jobs ran.");
wsInfo.setFinishedNoResults();
}
}
sequence = new vamsas.objects.simple.Sequence();
sequence.setId(seq.getName());
sequence.setSeq(sq);
+ } else {
+ errorMessage = "Sequence is too short to predict with JPred - need at least 20 amino acids.";
}
}
}
}
}
+ String errorMessage="";
+ public String getValidationMessages()
+ {
+ return errorMessage+"\n";
+ }
}
ext.vamsas.Jpred server;
jobs = new WSJob[]
{ job };
job.setJobnum(0);
+ } else {
+ wsInfo.appendProgressText(job.getValidationMessages());
}
}
{ job };
OutputHeader = wsInfo.getProgressText();
job.setJobnum(0);
+ } else {
+ wsInfo.appendProgressText(job.getValidationMessages());
}
}
}
else
{
+ wsInfo.setStatus(wsInfo.STATE_STOPPED_ERROR);
+ wsInfo.appendInfoText("No jobs ran.");
wsInfo.setFinishedNoResults();
}
}