Browse Source

Small fix

David Sehnal 6 years ago
parent
commit
5c73fd87ec
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/mol-model/structure/structure/unit/links/intra-compute.ts

+ 1 - 1
src/mol-model/structure/structure/unit/links/intra-compute.ts

@@ -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[] = [];