Ver código fonte

fix ihm model created twice

Alexander Rose 6 anos atrás
pai
commit
8e846f41e6
1 arquivos alterados com 1 adições e 1 exclusões
  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;