Formatting
[jalview.git] / src / jalview / io / ClustalFile.java
index 90c22f9..5d7be8c 100755 (executable)
@@ -1,6 +1,6 @@
 /*\r
  * Jalview - A Sequence Alignment Editor and Viewer\r
- * Copyright (C) 2006 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
+ * Copyright (C) 2007 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
  *\r
  * This program is free software; you can redistribute it and/or\r
  * modify it under the terms of the GNU General Public License\r
@@ -43,7 +43,8 @@ public class ClustalFile
     super.initData();\r
   }\r
 \r
-  public void parse() throws IOException\r
+  public void parse()\r
+      throws IOException\r
   {\r
     int i = 0;\r
     boolean flag = false;\r
@@ -97,7 +98,9 @@ public class ClustalFile
             }\r
           }\r
           else\r
+          {\r
             flag = true;\r
+          }\r
         }\r
       }\r
     }\r
@@ -124,7 +127,8 @@ public class ClustalFile
           }\r
 \r
           Sequence newSeq = parseId(headers.elementAt(i).toString());\r
-          newSeq.setSequence( seqhash.get(headers.elementAt(i).toString()).toString() );\r
+          newSeq.setSequence(seqhash.get(headers.elementAt(i).toString()).\r
+                             toString());\r
 \r
           seqs.addElement(newSeq);\r
         }\r
@@ -185,7 +189,7 @@ public class ClustalFile
 \r
       while ( (j < s.length) && (s[j] != null))\r
       {\r
-        out.append(new Format("%-" + maxid + "s").form( printId(s[j]) + " "));\r
+        out.append(new Format("%-" + maxid + "s").form(printId(s[j]) + " "));\r
 \r
         int start = i * len;\r
         int end = start + len;\r