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

fixed nucleotide marking (only apply to atomic units)

parent b62c27e6
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,9 @@ export function getNucleotideElementLoci(pickingId: PickingId, structureGroup: S
if (id === objectId) {
const { structure, group } = structureGroup
const unit = group.units[instanceId]
return getResidueLoci(structure, unit, unit.polymerElements[groupId])
if (Unit.isAtomic(unit)) {
return getResidueLoci(structure, unit, unit.polymerElements[groupId])
}
}
return EmptyLoci
}
......
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