Skip to content

Commit

Permalink
Move warning inside else condition.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmay committed Mar 25, 2018
1 parent ba4ac3c commit fd13496
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,9 @@ public void mapTemplates(IAtomContainer mol, int numberOfRingAtoms)
assignCoords(best, bestMap);
} else if (secondBest != null) {
assignCoords(secondBest, secondBestMap);
} else {
logger.warn("Maybe RingTemplateError!");
}

logger.warn("Maybe RingTemplateError!");
}

private void assignCoords(IAtomContainer template,
Expand Down

0 comments on commit fd13496

Please sign in to comment.