this was supposed to go on a separate branch. Didn't know I had to be
authorBobHanson <hansonr@stolaf.edu>
Tue, 2 Jun 2020 18:22:59 +0000 (13:22 -0500)
committerBobHanson <hansonr@stolaf.edu>
Tue, 2 Jun 2020 18:22:59 +0000 (13:22 -0500)
sure I was synchronized.

src/jalview/io/FileFormat.java
src/jalview/io/IdentifyFile.java

index df76c61..cb61740 100644 (file)
@@ -29,21 +29,6 @@ import java.io.IOException;
 
 public enum FileFormat implements FileFormatI
 {
-  BSML("BSML", "bbb", true, false)
-  {
-    @Override
-    public AlignmentFileReaderI getReader(FileParse source)
-            throws IOException
-    {
-      return new BSMLFile(source);
-    }
-
-    @Override
-    public AlignmentFileWriterI getWriter(AlignmentI al)
-    {
-      return null;
-    }
-  },
   Fasta("Fasta", "fa, fasta, mfa, fastq", true, true)
   {
     @Override
index 384797e..b312474 100755 (executable)
@@ -165,8 +165,8 @@ public class IdentifyFile
           if (source.inFile != null)
           {
             String fileStr = source.inFile.getName();
-            if (fileStr.contains(".jar") || fileStr.contains(".zip")
-                    || fileStr.contains(".jvp"))
+            if (fileStr.contains(".jar")
+                    || fileStr.contains(".zip") || fileStr.contains(".jvp"))
             {
               // possibly a Jalview archive (but check further)
               reply = FileFormat.Jalview;
@@ -319,11 +319,6 @@ public class IdentifyFile
         if ((lessThan > -1)) // possible Markup Language data i.e HTML,
                              // RNAML, XML
         {
-          if (data.startsWith("<BSML>"))
-          {
-            reply = FileFormat.BSML;
-            break;
-          }
           String upper = data.toUpperCase();
           if (upper.substring(lessThan).startsWith("<HTML"))
           {