소스 검색

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();