JAL-2277 Refactored out duplicated method - printUnwrapped() in HtmlSvgOutput, extern...
[jalview.git] / src / jalview / bin / Jalview.java
index 164ba27..d0cabb2 100755 (executable)
@@ -650,7 +650,9 @@ public class Jalview
           {
             File imageFile = new File(file);
             imageName = imageFile.getName();
-            new HtmlSvgOutput(new File(file), af.alignPanel);
+            HtmlSvgOutput htmlSVG = new HtmlSvgOutput(af.alignPanel);
+            htmlSVG.generateHtmlSvgOutput(new File(file));
+
             System.out.println("Creating HTML image: " + file);
             continue;
           }