aboutsummaryrefslogtreecommitdiff
path: root/backend/data/genDbpData.py
diff options
context:
space:
mode:
Diffstat (limited to 'backend/data/genDbpData.py')
-rwxr-xr-xbackend/data/genDbpData.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/data/genDbpData.py b/backend/data/genDbpData.py
index 6cc8d33..c43ad86 100755
--- a/backend/data/genDbpData.py
+++ b/backend/data/genDbpData.py
@@ -65,6 +65,7 @@ for (name, variants) in nameToVariants.items():
nodeToLabel[name] = variants[0]
for name in nodeToLabel:
del nameToVariants[name]
+nodeToLabel["cellular organisms"] = "organism" # Special case for root node
print("Number of conflicts: {}".format(len(nameToVariants)))
# Try conflict resolution via category-list
# Does a generic-category pass first (avoid stuff like Pan being classified as a horse instead of an ape)