JAL-629 change --renderer to --textrenderer to be more specific
[jalview.git] / src / jalview / bin / Commands.java
index 7e33b17..a0209fd 100644 (file)
@@ -495,7 +495,6 @@ public class Commands
           // get PAEMATRIX file and label from subvals or Arg.PAEMATRIX
           String paeFilepath = subVals.getWithSubstitutions(argParser, id,
                   "paematrix");
-          String paeLabel = subVals.get("paelabel");
           ArgValue paeAv = getArgAssociatedWithStructure(Arg.PAEMATRIX, avm,
                   af, structureFilepath);
           if (paeFilepath == null && paeAv != null)
@@ -503,7 +502,6 @@ public class Commands
             SubVals sv = paeAv.getSubVals();
             File paeFile = new File(sv.getContent());
 
-            paeLabel = sv.get("label");
             try
             {
               paeFilepath = paeFile.getCanonicalPath();
@@ -652,7 +650,7 @@ public class Commands
         File file = new File(fileName);
         String name = af.getName();
         String renderer = ArgParser.getValueFromSubValOrArg(avm, av,
-                Arg.RENDERER, subVal);
+                Arg.TEXTRENDERER, subVal);
         if (renderer == null)
           renderer = "text";
         String type = "png"; // default