* Skip this step for dynamically added file formats, because
* IdentifyFile does not know how to recognise them.
*/
- boolean dynamicFormat = FileFormats.getInstance().isDynamic(format);
- if (!dynamicFormat && !FileFormat.Jalview.equals(format))
+ if (FileFormats.getInstance().isIdentifiable(format))
{
try
{
format = new IdentifyFile().identify(choice, DataSourceType.FILE);
} catch (FileFormatException e)
{
- // format is null
+ // format = null; //??
}
}