X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjalview%2Fio%2FGff3File.java;h=248fa09893d57793069350be4983ff4dfde7c975;hb=9885d5229311c88fc0ac67da9afb08f01269858b;hp=53179e07aa36fac7e15ab127481bd204c421b247;hpb=d8b1bd1058a11fca0c2ea91845bc08cbf5151323;p=jalview.git diff --git a/src/jalview/io/Gff3File.java b/src/jalview/io/Gff3File.java index 53179e0..248fa09 100644 --- a/src/jalview/io/Gff3File.java +++ b/src/jalview/io/Gff3File.java @@ -1,3 +1,23 @@ +/* + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors + * + * This file is part of Jalview. + * + * Jalview is free software: you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 + * of the License, or (at your option) any later version. + * + * Jalview is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Jalview. If not, see . + * The Jalview Authors are detailed in the 'AUTHORS' file. + */ package jalview.io; import jalview.api.AlignViewportI; @@ -100,6 +120,7 @@ public class Gff3File extends FeaturesFile AlignmentI dataset; List alignments; + @Override public void parse() { @@ -118,8 +139,7 @@ public class Gff3File extends FeaturesFile } else { - dataset = new Alignment(new SequenceI[] - {}); + dataset = new Alignment(new SequenceI[] {}); } boolean parseResult = parse(dataset, null, null, false, true); @@ -139,7 +159,7 @@ public class Gff3File extends FeaturesFile } @Override - public void addProperties(Alignment al) + public void addProperties(AlignmentI al) { super.addProperties(al); if (dataset.getCodonFrames() != null)