Skip to content
Snippets Groups Projects
Commit b61b3e11 authored by McMenemy's avatar McMenemy
Browse files

fix linter error

parent 835f717e
No related branches found
No related tags found
No related merge requests found
...@@ -21,8 +21,10 @@ function extractIonNames(ccd: DatabaseCollection<CCD_Schema>) { ...@@ -21,8 +21,10 @@ function extractIonNames(ccd: DatabaseCollection<CCD_Schema>) {
const ionNames: string[] = []; const ionNames: string[] = [];
for (const k in ccd) { for (const k in ccd) {
const {chem_comp} = ccd[k]; const {chem_comp} = ccd[k];
if ((chem_comp.name.value(0).toUpperCase().includes(' ION')) && if (
(chem_comp.pdbx_release_status.value(0) === 'REL')) { chem_comp.name.value(0).toUpperCase().includes(' ION')
&& chem_comp.pdbx_release_status.value(0) === 'REL'
) {
ionNames.push(chem_comp.id.value(0)); ionNames.push(chem_comp.id.value(0));
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment