Skip to content

Commit

Permalink
Don't ever show 'ht' superscript.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmay committed Feb 21, 2016
1 parent 97597e9 commit fa571c3
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -344,7 +344,8 @@ else if ("ALT".equals(subtype))

// connectivity doesn't matter if symmetric... which is hard to test
// here but we can certainly ignore it for single atoms (e.g. methylene)
if (sgroup.getAtoms().size() == 1)
// also when we see brackets we presume head-to-tail repeating
if ("ht".equals(connectivity) || sgroup.getAtoms().size() == 1)
connectivity = null;

return generateSgroupBrackets(sgroup,
Expand Down

0 comments on commit fa571c3

Please sign in to comment.