remove backup of div exposure from tree after using
@@ -67,6 +67,7 @@ def switch_division(node):
# if has a 'real' exposure history, then put this back in place now! Delete all others.
if "division_exposure_backup" in node["node_attrs"] and node["node_attrs"]["division_exposure_backup"]["value"] != node["node_attrs"]["division_exposure"]["value"]:
node["node_attrs"]["division_exposure"]["value"] = node["node_attrs"]["division_exposure_backup"]["value"]
+ del node["node_attrs"]["division_exposure_backup"]
else:
del node["node_attrs"]["division_exposure"]
