Ver Fonte

fix typos in xyz format

Alexander Rose há 4 anos atrás
pai
commit
c3c22ee3bc
1 ficheiros alterados com 3 adições e 3 exclusões
  1. 3 3
      src/mol-model-formats/structure/xyz.ts

+ 3 - 3
src/mol-model-formats/structure/xyz.ts

@@ -84,7 +84,7 @@ function getModels(mol: XyzFile, ctx: RuntimeContext) {
         atom_site
     });
 
-    return createModels(basics, MolFormat.create(mol), ctx);
+    return createModels(basics, XyzFormat.create(mol), ctx);
 }
 
 //
@@ -93,9 +93,9 @@ export { XyzFormat };
 
 type XyzFormat = ModelFormat<XyzFile>
 
-namespace MolFormat {
+namespace XyzFormat {
     export function is(x?: ModelFormat): x is XyzFormat {
-        return x?.kind === 'mol';
+        return x?.kind === 'xyz';
     }
 
     export function create(mol: XyzFile): XyzFormat {