.getDefault("EXPORT_EMBBED_BIOJSON", "true"));
if (isEmbbedBioJSON)
{
- AlignmentExportData exportData = ap.alignFrame.getAlignmentForExport(
+ AlignmentExportData exportData = jalview.gui.AlignFrame
+ .getAlignmentForExport(
JSONFile.FILE_DESC, av);
if (exportData.getSettings().isCancelled())
{
jsonData = new FormatAdapter(ap, exportData.getSettings())
.formatSequences(JSONFile.FILE_DESC, exportData
.getAlignment(), exportData.getOmitHidden(),
- exportData.getStartEndPostions(), ap
- .getAlignViewport().getColumnSelection());
+ exportData.getStartEndPostions(),
+ av.getColumnSelection());
}
String htmlData = getHtml(titleSvgData, alignSvgData, jsonData);
FileOutputStream out = new FileOutputStream(file);