浏览代码

Add formal charge option to atom site

ptourlas 3 年之前
父节点
当前提交
a736fe7989
共有 1 个文件被更改,包括 1 次插入0 次删除
  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();