From 690d0e4e6ff5420d1543a9a1b58f96770841c1c4 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Mon, 15 May 2017 08:46:56 +0100 Subject: [PATCH] JAL-2480 redundant code (from merge?) removed --- src/jalview/gui/AnnotationExporter.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/jalview/gui/AnnotationExporter.java b/src/jalview/gui/AnnotationExporter.java index 0d47e36..cffc52f 100644 --- a/src/jalview/gui/AnnotationExporter.java +++ b/src/jalview/gui/AnnotationExporter.java @@ -156,8 +156,6 @@ public class AnnotationExporter extends JPanel .getString("label.no_features_on_alignment"); if (features) { - Map displayedFeatureColours = ap - .getFeatureRenderer().getDisplayedFeatureCols(); FeaturesFile formatter = new FeaturesFile(); SequenceI[] sequences = ap.av.getAlignment().getSequencesArray(); Map featureColours = ap.getFeatureRenderer() @@ -165,17 +163,11 @@ public class AnnotationExporter extends JPanel boolean includeNonPositional = ap.av.isShowNPFeats(); if (GFFFormat.isSelected()) { - text = new FeaturesFile().printGffFormat(ap.av.getAlignment() - .getDataset().getSequencesArray(), displayedFeatureColours, - true, ap.av.isShowNPFeats()); text = formatter.printGffFormat(sequences, featureColours, true, includeNonPositional); } else { - text = new FeaturesFile().printJalviewFormat(ap.av.getAlignment() - .getDataset().getSequencesArray(), displayedFeatureColours, - true, ap.av.isShowNPFeats()); // ap.av.featuresDisplayed); text = formatter.printJalviewFormat(sequences, featureColours, true, includeNonPositional); } -- 1.7.10.2