String format = new IdentifyFile().Identify(result, "Paste");\r
SequenceI[] sequences = null;\r
\r
- if (FormatAdapter.formats.contains(format))\r
+ if (FormatAdapter.isValidFormat(format))\r
{\r
sequences = null;\r
try{ sequences = new FormatAdapter().readFile(result.toString(), "Paste",\r