diff --git a/src/cli/chem-comp-dict/create-ions.ts b/src/cli/chem-comp-dict/create-ions.ts index 6e0c12ddd77127786c2724f9f0c45c37ecdfa0f1..7551cc9ff35fb317b976360e7098a21c4c46124a 100644 --- a/src/cli/chem-comp-dict/create-ions.ts +++ b/src/cli/chem-comp-dict/create-ions.ts @@ -21,8 +21,10 @@ function extractIonNames(ccd: DatabaseCollection<CCD_Schema>) { const ionNames: string[] = []; for (const k in ccd) { const {chem_comp} = ccd[k]; - if ((chem_comp.name.value(0).toUpperCase().includes(' ION')) && - (chem_comp.pdbx_release_status.value(0) === 'REL')) { + if ( + chem_comp.name.value(0).toUpperCase().includes(' ION') + && chem_comp.pdbx_release_status.value(0) === 'REL' + ) { ionNames.push(chem_comp.id.value(0)); } }