X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fio%2FFastaFile.java;h=6e3ced88635f906442f3107133741b70732f9214;hb=174230b4233d9ce80f94527768d2cd2f76da11ab;hp=2e203af61198db26be0cdacd25deeedc76ee3090;hpb=8d3d3b4edf47e543b8b352c1b2c247cfc59122a4;p=jalview.git diff --git a/src/jalview/io/FastaFile.java b/src/jalview/io/FastaFile.java index 2e203af..6e3ced8 100755 --- a/src/jalview/io/FastaFile.java +++ b/src/jalview/io/FastaFile.java @@ -1,6 +1,6 @@ /* * Jalview - A Sequence Alignment Editor and Viewer -* Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle +* Copyright (C) 2006 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -41,16 +41,6 @@ public class FastaFile extends AlignFile /** * Creates a new FastaFile object. * - * @param inStr DOCUMENT ME! - */ - public FastaFile(String inStr) - { - super(inStr); - } - - /** - * Creates a new FastaFile object. - * * @param inFile DOCUMENT ME! * @param type DOCUMENT ME! * @@ -76,6 +66,7 @@ public class FastaFile extends AlignFile while ((line = nextLine()) != null) { + line = line.trim(); if (line.length() > 0) { if (line.charAt(0)=='>')