Selaa lähdekoodia

fix ihm model created twice

Alexander Rose 6 vuotta sitten
vanhempi
commit
8e846f41e6
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;