|
@@ -35,7 +35,7 @@ function _computeBonds(unit: Unit.Atomic, params: LinkComputationParameters): In
|
|
|
const { label_comp_id } = unit.model.atomicHierarchy.residues;
|
|
|
const query3d = unit.lookup3d;
|
|
|
|
|
|
- const structConn = unit.model.sourceData.kind === 'mmCIF' ? StructConn.fromModel(unit.model) : void 0;
|
|
|
+ const structConn = unit.model.sourceData.kind === 'mmCIF' ? StructConn.get(unit.model) : void 0;
|
|
|
const component = unit.model.sourceData.kind === 'mmCIF' ? ComponentBond.get(unit.model) : void 0;
|
|
|
|
|
|
const atomA: number[] = [];
|