Преглед на файлове

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;