Explorar o código

Add formal charge option to atom site

ptourlas %!s(int64=3) %!d(string=hai) anos
pai
achega
a736fe7989
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/mol-model-formats/structure/mol.ts

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

@@ -45,6 +45,7 @@ export async function getMolModels(mol: MolFile, format: ModelFormat<any> | unde
         type_symbol,
 
         pdbx_PDB_model_num: Column.ofConst(1, atoms.count, Column.Schema.int),
+        pdbx_formal_charge: Column.range(-1, 1)
     }, atoms.count);
 
     const entityBuilder = new EntityBuilder();