JAL-4195 Debug message indicating creation of an image file should come before we...
authorJames Procter <j.procter@dundee.ac.uk>
Tue, 6 Jun 2023 15:31:03 +0000 (16:31 +0100)
committerJames Procter <j.procter@dundee.ac.uk>
Tue, 6 Jun 2023 15:31:03 +0000 (16:31 +0100)
src/jalview/bin/Commands.java

index 30fdc30..3d47505 100644 (file)
@@ -738,6 +738,7 @@ public class Commands
           break;
 
         case "biojs":
+          Console.debug("Creating BioJS MSA Viwer HTML file: " + fileName);
           try
           {
             BioJsHTMLOutput.refreshVersionInfo(
@@ -748,17 +749,16 @@ public class Commands
           }
           BioJsHTMLOutput bjs = new BioJsHTMLOutput(af.alignPanel);
           bjs.exportHTML(fileName);
-          Console.debug("Creating BioJS MSA Viwer HTML file: " + fileName);
           break;
 
         case "eps":
-          af.createEPS(file, name);
           Console.debug("Creating EPS file: " + fileName);
+          af.createEPS(file, name);
           break;
 
         case "imagemap":
-          af.createImageMap(file, name);
           Console.debug("Creating ImageMap file: " + fileName);
+          af.createImageMap(file, name);
           break;
 
         default: