WRITEABLE_FORMATS and READABLE_FORMATS string []
[jalview.git] / src / jalview / gui / CutAndPasteTransfer.java
index 2bb456b..5c9c941 100755 (executable)
@@ -169,7 +169,7 @@ public class CutAndPasteTransfer extends GCutAndPasteTransfer
         String format = new IdentifyFile().Identify(getText(), "Paste");\r
         SequenceI[] sequences = null;\r
 \r
-        if (FormatAdapter.formats.contains(format))\r
+        if (FormatAdapter.isValidFormat(format))\r
         {\r
           try{\r
             sequences = new FormatAdapter().readFile(getText(), "Paste", format);\r