JAL-1628 employ new AnnotationFile reader method to allow the current view's ColumnSe...
[jalview.git] / src / jalview / gui / AlignFrame.java
index 269e103..5c42418 100644 (file)
@@ -5148,7 +5148,7 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener,
       // try to parse as annotation.
       boolean isAnnotation = (format == null || format
               .equalsIgnoreCase("PFAM")) ? new AnnotationFile()
-              .readAnnotationFile(viewport.getAlignment(), file, protocol)
+              .annotateAlignmentView(viewport, file, protocol)
               : false;
 
       if (!isAnnotation)