public class Jws2InstanceFactory
{
private static HashMap<String, AlignAnalysisUIText> aaConGUI;
-
+ private static String category_rewrite(String cat_name)
+ {
+ return (cat_name != null && cat_name.equals("Prediction")) ? "Secondary Structure Prediction" : cat_name;
+ }
private static void init()
{
if (aaConGUI == null)
JABAService service)
{
init();
- Jws2Instance svc = new Jws2Instance(jwsservers, serviceType, name,
+ Jws2Instance svc = new Jws2Instance(jwsservers, serviceType, category_rewrite(name),
description, service);
svc.aaui = aaConGUI.get(serviceType.toString());