Skip to content

Commit

Permalink
#3891 - Aromatize/Dearomatize of having abbreviation (Salts and Solve…
Browse files Browse the repository at this point in the history
…nts) on the canvas causes spontaneous random de-abbreviation

- fixed functional group id setting
  • Loading branch information
rrodionov91 committed Feb 23, 2024
1 parent c872aa3 commit 1682e2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class ReStruct {
this.sgroupData.set(id, new ReDataSGroupData(item));
} // [MK] sort of a hack, we use the SGroup id for the data field id
if (FunctionalGroup.isFunctionalGroup(item) || SGroup.isSuperAtom(item)) {
this.molecule.functionalGroups.set(id, new FunctionalGroup(item));
this.molecule.functionalGroups.add(new FunctionalGroup(item));
}
});
}
Expand Down

0 comments on commit 1682e2f

Please sign in to comment.