X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Fjws2%2FAADisorderClient.java;h=c24ea051ec373eddac4ede910ee761dc4d55bcff;hb=be762d8d9c71a7aa3121e845c45911c7192b7827;hp=b877d206a33eca95a5241e359f52cdd6861e98a5;hpb=d1bb7a31fc091606aedbc255a5766ac79e36fa91;p=jalview.git diff --git a/src/jalview/ws/jws2/AADisorderClient.java b/src/jalview/ws/jws2/AADisorderClient.java index b877d20..c24ea05 100644 --- a/src/jalview/ws/jws2/AADisorderClient.java +++ b/src/jalview/ws/jws2/AADisorderClient.java @@ -62,9 +62,9 @@ public class AADisorderClient extends JabawsCalcWorker AlignFrame af; public AADisorderClient(Jws2Instance sh, AlignFrame alignFrame, - WsParamSetI preset, List paramset) + WsParamSetI thePreset, List paramset) { - super(sh, alignFrame, preset, paramset); + super(sh, alignFrame, thePreset, paramset); af = alignFrame; typeName = sh.action; methodName = sh.serviceType; @@ -103,8 +103,9 @@ public class AADisorderClient extends JabawsCalcWorker Map fmap; featureMap.put(compbio.ws.client.Services.IUPredWS.toString(), fmap = new HashMap()); - fmap.put("Glob", new String[] { "Globular Domain", - "Predicted globular domain" }); + fmap.put("Glob", + new String[] + { "Globular Domain", "Predicted globular domain" }); featureMap.put(compbio.ws.client.Services.JronnWS.toString(), fmap = new HashMap()); featureMap.put(compbio.ws.client.Services.DisemblWS.toString(), @@ -114,10 +115,12 @@ public class AADisorderClient extends JabawsCalcWorker fmap.put("COILS", new String[] { "COILS", "Random coil" }); featureMap.put(compbio.ws.client.Services.GlobPlotWS.toString(), fmap = new HashMap()); - fmap.put("GlobDoms", new String[] { "Globular Domain", - "Predicted globular domain" }); - fmap.put("Disorder", new String[] { "Protein Disorder", - "Probable unstructured peptide region" }); + fmap.put("GlobDoms", + new String[] + { "Globular Domain", "Predicted globular domain" }); + fmap.put("Disorder", + new String[] + { "Protein Disorder", "Probable unstructured peptide region" }); Map> amap; annotMap = new HashMap>>(); annotMap.put(compbio.ws.client.Services.GlobPlotWS.toString(), @@ -206,9 +209,7 @@ public class AADisorderClient extends JabawsCalcWorker { Cache.log .info("Couldn't recover disorder prediction for sequence " - + seq.getName() - + "(Prediction name was " - + seqId + + seq.getName() + "(Prediction name was " + seqId + ")" + "\nSee http://issues.jalview.org/browse/JAL-1319 for one possible reason why disorder predictions might fail."); } @@ -267,13 +268,15 @@ public class AADisorderClient extends JabawsCalcWorker typename = service.serviceType + " (" + scr.getMethod() + ")", calcName = service.getServiceTypeURI() + "/" - + scr.getMethod(), aseq, base + 1, scr); + + scr.getMethod(), + aseq, base + 1, scr); annot.graph = AlignmentAnnotation.LINE_GRAPH; Map styleMap = (annotTypeMap == null) ? null : annotTypeMap.get(scr.getMethod()); - annot.visible = (styleMap == null || styleMap.get(INVISIBLE) == null); + annot.visible = (styleMap == null + || styleMap.get(INVISIBLE) == null); double[] thrsh = (styleMap == null) ? null : (double[]) styleMap.get(THRESHOLD); float[] range = (styleMap == null) ? null @@ -307,8 +310,8 @@ public class AADisorderClient extends JabawsCalcWorker annot.description += "
" + threshNote; } annot.description += ""; - Color col = ColorUtils.createColourFromName(typeName - + scr.getMethod()); + Color col = ColorUtils + .createColourFromName(typeName + scr.getMethod()); for (int p = 0, ps = annot.annotations.length; p < ps; p++) { if (annot.annotations[p] != null)