From: Natasha Sherstneva Date: Thu, 21 Nov 2013 12:35:56 +0000 (+0000) Subject: PROT-7 fixed ServletProteinSequence X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=67ff2bb305a2fd9aca9ab32d71fb8c15f75ee7af;p=proteocache.git PROT-7 fixed ServletProteinSequence --- diff --git a/server/compbio/statistic/CassandraRequester.java b/server/compbio/statistic/CassandraRequester.java index 20ffe0e..ad99868 100755 --- a/server/compbio/statistic/CassandraRequester.java +++ b/server/compbio/statistic/CassandraRequester.java @@ -164,6 +164,8 @@ public class CassandraRequester { res = db.ReadWholeSequence(protIn); else res = db.ReadPartOfSequence(protIn); + if (res == null) + return null; for (StructureProteinPrediction entry : res) { Map pred = entry.getPrediction(); Iterator it = pred.entrySet().iterator(); diff --git a/website/ReportSequenceProtein.jsp b/website/ReportSequenceProtein.jsp index 0459668..5225bf5 100644 --- a/website/ReportSequenceProtein.jsp +++ b/website/ReportSequenceProtein.jsp @@ -13,6 +13,14 @@

Time execution: ${timeExecution} ms

+ + + +

No jobs for sequence ${prot}

+
+ + + @@ -74,3 +82,5 @@
+
+
\ No newline at end of file