From fe8f5693eedbb4608c4e5280ac03e771d113c417 Mon Sep 17 00:00:00 2001 From: jprocter Date: Tue, 24 May 2005 17:18:35 +0000 Subject: [PATCH] title parameter for single sequence prediction. --- src/jalview/ws/JPredClient.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jalview/ws/JPredClient.java b/src/jalview/ws/JPredClient.java index 9f68dca..a688de2 100755 --- a/src/jalview/ws/JPredClient.java +++ b/src/jalview/ws/JPredClient.java @@ -46,7 +46,7 @@ public class JPredClient jthread.start(); } - public JPredClient(SequenceI seq) + public JPredClient(String title, SequenceI seq) { wsInfo = new WebserviceInfo("JNet secondary structure prediction Job", "\"Cuff J. A and Barton G.J (1999) Application of enhanced multiple sequence alignment profiles to improve protein secondary structure prediction, Proteins 40:502-511\"."); @@ -54,7 +54,7 @@ public class JPredClient wsInfo.setProgressText("Job details for prediction on sequence :\n>" + seq.getName() + "\n" + AlignSeq.extractGaps("-. ",seq.getSequence()) + "\n"); - altitle = "JNet prediction for sequence "+seq.getName(); + altitle = "JNet prediction for sequence "+seq.getName()+" from "+title; SequenceInfo = jalview.analysis.SeqsetUtils.SeqCharacterHash(seq); // TODO: put proper url in JPredWSServiceLocator loc = new JPredWSServiceLocator(); // Default -- 1.7.10.2