Response to bug mantis?id=8187 - some quick hacks to read and write david's MSF file...
[jalview.git] / src / jalview / io / IdentifyFile.java
index 55d771b..eebde9b 100755 (executable)
@@ -43,6 +43,12 @@ public class IdentifyFile
 \r
         if(data.indexOf("PILEUP")>-1)\r
         {\r
+          reply = "PileUp";\r
+          break;\r
+        }\r
+        if((data.indexOf("!!")>-1)\r
+           && (data.indexOf("!!")<data.indexOf("_MULTIPLE_ALIGNMENT ")))\r
+        {\r
           reply = "MSF";\r
           break;\r
         }\r