Pārlūkot izejas kodu

fix linter error

McMenemy 4 gadi atpakaļ
vecāks
revīzija
b61b3e1115
1 mainītis faili ar 4 papildinājumiem un 2 dzēšanām
  1. 4 2
      src/cli/chem-comp-dict/create-ions.ts

+ 4 - 2
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));
         }
     }