// TODO obtain config value from preference settings.
// Set value to 'true' to test PDB processing with Jmol: JAL-1213
boolean isParseWithJMOL = StructureImportSettings
- .getDefaultPDBFileParser()
- .equals(StructureImportSettings.StructureParser.JMOL_PARSER);
+ .getDefaultPDBFileParser().equalsIgnoreCase(
+ StructureImportSettings.StructureParser.JMOL_PARSER
+ .toString());
if (isParseWithJMOL)
{
StructureImportSettings.addSettings(annotFromStructure,