From b4c197e5c5610df0c8b2ad26af46bd894b87a4ad Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 7 May 2015 15:17:00 +0100 Subject: [PATCH] JAL-1731 fix JPred4 citation in legacy client code --- src/jalview/ws/jws1/Discoverer.java | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/src/jalview/ws/jws1/Discoverer.java b/src/jalview/ws/jws1/Discoverer.java index 7cb0481..31018a8 100644 --- a/src/jalview/ws/jws1/Discoverer.java +++ b/src/jalview/ws/jws1/Discoverer.java @@ -22,11 +22,17 @@ package jalview.ws.jws1; import jalview.util.MessageManager; -import java.util.*; +import java.util.Hashtable; +import java.util.StringTokenizer; +import java.util.Vector; -import javax.swing.*; +import javax.swing.JOptionPane; -import ext.vamsas.*; +import ext.vamsas.IRegistry; +import ext.vamsas.IRegistryServiceLocator; +import ext.vamsas.RegistryServiceSoapBindingStub; +import ext.vamsas.ServiceHandle; +import ext.vamsas.ServiceHandles; public class Discoverer implements Runnable { @@ -211,9 +217,9 @@ public class Discoverer implements Runnable MessageManager.getString("label.clustalw_multiple_sequence_alignment")), new ServiceHandle( "SecStrPred", - "Cole C., Barber J. D., Barton G.J (2008) " - + "The Jpred 3 secondary structure prediction server " - + "Nucleic Acids Research, 36 W197-W201", + "Drozdetskiy A, Cole C, Procter J & Barton GJ. (2015)\nJPred4: a protein secondary structure prediction server" + + "\nNucleic Acids Research, Web Server issue (first published 15th April 2015)" + + "\ndoi://10.1093/nar/gkv332", "http://www.compbio.dundee.ac.uk/JalviewWS/services/jpred", "JNet Secondary Structure Prediction") }; services = new Hashtable(); @@ -356,7 +362,7 @@ public class Discoverer implements Runnable { jalview.bin.Cache.log .warn("No services at " - + ((java.net.URL) ServiceURLList.get(s_url)) + + (ServiceURLList.get(s_url)) + " - check DISCOVERY_URLS property in .jalview_properties"); } s_url++; -- 1.7.10.2