diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-06-23 16:45:56 +1000 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-06-23 16:45:56 +1000 |
| commit | 549d932d7b54946a2dc622ce12ff3415acd23880 (patch) | |
| tree | b562e060e6081da03a2a4c3a515f4edd4d94ca8d /backend | |
| parent | f277547d97130a94e2c3d04f4bf93fdb15f6e5fa (diff) | |
Fix root-displayed-in-italics bug
Diffstat (limited to 'backend')
| -rwxr-xr-x | backend/data/genOtolData.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/backend/data/genOtolData.py b/backend/data/genOtolData.py index 36b6197..b5e0055 100755 --- a/backend/data/genOtolData.py +++ b/backend/data/genOtolData.py @@ -231,9 +231,6 @@ for (id, node) in nodeMap.items(): supportQty = len(nodeAnns["supported_by"]) if "supported_by" in nodeAnns else 0 conflictQty = len(nodeAnns["conflicts_with"]) if "conflicts_with" in nodeAnns else 0 node.pSupport = supportQty > 0 and conflictQty == 0 - # Root node gets support - if node.parentId == None: - node.pSupport = True print("Creating nodes and edges tables") dbCon = sqlite3.connect(dbFile) |
