}
}
- public void exportJalviewAlignmentAsBioJsHtmlFile()
+ public void exportJalviewAlignmentAsBioJsHtmlFile(String outputFile)
{
- String outputFile = null;
+ // String outputFile = null;
try
{
- outputFile = getOutputFile();
+ if (outputFile == null)
+ {
+ outputFile = getOutputFile();
+ }
AlignExportSettingI exportSettings = new AlignExportSettingI()
{
@Override
new OOMWarning("Creating Image for " + outputFile, err);
} catch (Exception e)
{
+ if (pIndicator != null && !headless)
+ {
pIndicator.setProgressBar(MessageManager.formatMessage(
"info.error_creating_file", "HTML"), pSessionId);
+ }
e.printStackTrace();
}
}