// open a new source and read from it
FormatAdapter fa = new FormatAdapter();
al = fa.readFile(file, protocol, format);
// open a new source and read from it
FormatAdapter fa = new FormatAdapter();
al = fa.readFile(file, protocol, format);
- ((HtmlFile) source).LoadAlignmentFeatures(alignFrame);
-
+ ((HtmlFile) source).applySettingsToAlignFrame(alignFrame);
+ }
+ else if (source instanceof JSONFile)
+ {
+ ((JSONFile) source).applySettingsToAlignFrame(alignFrame);