소스 검색

fix ihm model created twice

Alexander Rose 6 년 전
부모
커밋
8e846f41e6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/mol-model/structure/model/formats/mmcif.ts

+ 1 - 1
src/mol-model/structure/model/formats/mmcif.ts

@@ -231,7 +231,7 @@ async function readIHM(ctx: RuntimeContext, format: mmCIF_Format) {
         };
         const model = createModelIHM(format, data);
         attachProps(model);
-        models.push(createModelIHM(format, data));
+        models.push(model);
     }
 
     return models;