Skip to content

Commit

Permalink
Need space after option.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmay committed Oct 5, 2016
1 parent 825225b commit ce1938f
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -90,10 +90,16 @@ private static String checkOptions(final String ops) throws JniInchiException {
// 1,5 tautomer option
else if ("15T".equals(op)) {
sbOptions.append('-').append("15T");
if (tok.hasMoreTokens()) {
sbOptions.append(" ");
}
}
// keto-enol tautomer option
else if ("KET".equals(op)) {
sbOptions.append('-').append("KET");
if (tok.hasMoreTokens()) {
sbOptions.append(" ");
}
} else {
throw new JniInchiException("Unrecognised InChI option");
}
Expand Down

0 comments on commit ce1938f

Please sign in to comment.