From: amwaterhouse Date: Fri, 24 Mar 2006 15:32:22 +0000 (+0000) Subject: Trim line X-Git-Tag: Root_VamJalview_2_07b+~13 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=715f6d344d5ccabc6b50622ec02a35b83eb2da95;p=jalview.git Trim line --- diff --git a/src/jalview/io/FastaFile.java b/src/jalview/io/FastaFile.java index 2e203af..6d218f4 100755 --- a/src/jalview/io/FastaFile.java +++ b/src/jalview/io/FastaFile.java @@ -76,6 +76,7 @@ public class FastaFile extends AlignFile while ((line = nextLine()) != null) { + line = line.trim(); if (line.length() > 0) { if (line.charAt(0)=='>')