Skip to content
Snippets Groups Projects
Commit 6e70172c authored by Alexander Rose's avatar Alexander Rose
Browse files

fixed `addUnitPositiveCharges`

parent 22563bf6
No related branches found
No related tags found
No related merge requests found
......@@ -81,12 +81,6 @@ function addUnitPositiveCharges(structure: Structure, unit: Unit.Atomic, builder
addedElements.clear()
for (let j = start as StructureElement.UnitIndex; j < end; ++j) {
builder.startState()
if (typeSymbol(unit, j) === Elements.N) {
builder.pushMember(x[elements[j]], y[elements[j]], z[elements[j]], j)
}
builder.finishState(FeatureType.PositiveCharge, FeatureGroup.None)
let group = FeatureGroup.None
if (isGuanidine(structure, unit, j)) {
group = FeatureGroup.Guanidine
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment