better recognition of MSF files.
authorjprocter <Jim Procter>
Fri, 27 May 2005 15:02:18 +0000 (15:02 +0000)
committerjprocter <Jim Procter>
Fri, 27 May 2005 15:02:18 +0000 (15:02 +0000)
src/jalview/io/IdentifyFile.java

index eebde9b..3dd95b6 100755 (executable)
@@ -46,8 +46,9 @@ public class IdentifyFile
           reply = "PileUp";\r
           break;\r
         }\r
-        if((data.indexOf("!!")>-1)\r
-           && (data.indexOf("!!")<data.indexOf("_MULTIPLE_ALIGNMENT ")))\r
+        if((data.indexOf("//")==0)\r
+           || ((data.indexOf("!!")>-1)\r
+           && (data.indexOf("!!")<data.indexOf("_MULTIPLE_ALIGNMENT "))))\r
         {\r
           reply = "MSF";\r
           break;\r