From 207c226f66e84afb0acecff14265cea294a76b8d Mon Sep 17 00:00:00 2001
From: JonStargaryen <sebastian.bittrich@rcsb.org>
Date: Tue, 20 Oct 2020 12:57:31 -0700
Subject: [PATCH] naming

---
 src/cli/chem-comp-dict/create-table.ts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/cli/chem-comp-dict/create-table.ts b/src/cli/chem-comp-dict/create-table.ts
index 7221e6276..f20af5933 100644
--- a/src/cli/chem-comp-dict/create-table.ts
+++ b/src/cli/chem-comp-dict/create-table.ts
@@ -87,19 +87,19 @@ function checkAddingBondsFromPVCD(pvcd: DatabaseCollection<CCD_Schema>) {
 }
 
 function checkAddingAtomsFromPVCD(pvcd: DatabaseCollection<CCD_Schema>) {
-    const ccbSetByParent = DefaultMap<string, Set<string>>(() => new Set());
+    const ccaSetByParent = DefaultMap<string, Set<string>>(() => new Set());
 
     for (const k in pvcd) {
         const { chem_comp, chem_comp_atom } = pvcd[k];
         if (chem_comp_atom._rowCount) {
             const parentIds = chem_comp.mon_nstd_parent_comp_id.value(0);
             if (parentIds.length === 0) {
-                const set = ccbSetByParent.getDefault(chem_comp.id.value(0));
+                const set = ccaSetByParent.getDefault(chem_comp.id.value(0));
                 addChemCompAtomToSet(set, chem_comp_atom);
             } else {
                 for (let i = 0, il = parentIds.length; i < il; ++i) {
                     const parentId = parentIds[i];
-                    const set = ccbSetByParent.getDefault(parentId);
+                    const set = ccaSetByParent.getDefault(parentId);
                     addChemCompAtomToSet(set, chem_comp_atom);
                 }
             }
-- 
GitLab