|
@@ -261,6 +261,8 @@ function computeInterUnitBonds(structure: Structure, props?: Partial<InterBondCo
|
|
}
|
|
}
|
|
|
|
|
|
function hasStructConnRecord(unit: Unit) {
|
|
function hasStructConnRecord(unit: Unit) {
|
|
|
|
+ if (!Unit.isAtomic(unit)) return false;
|
|
|
|
+
|
|
const elements = unit.elements;
|
|
const elements = unit.elements;
|
|
const structConn = StructConn.Provider.get(unit.model);
|
|
const structConn = StructConn.Provider.get(unit.model);
|
|
if (structConn) {
|
|
if (structConn) {
|