Skip to content
Snippets Groups Projects
Commit 5c73fd87 authored by David Sehnal's avatar David Sehnal
Browse files

Small fix

parent e9e43c9f
No related branches found
No related tags found
No related merge requests found
......@@ -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[] = [];
......
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