Skip to content
Snippets Groups Projects
Commit 5ea360df authored by imcovangent's avatar imcovangent
Browse files

Small bug fix in VISTOMS system level categorization.

Former-commit-id: 0899188da1fc9dee85842132b01b26d5ecc60d34
parent cb0bb992
No related branches found
No related tags found
No related merge requests found
......@@ -630,11 +630,11 @@ class VistomsMixin(object):
if in_degree == 0 and out_degree > 0:
key = '/systemVariables/inputs' + key
elif in_degree > 0 and out_degree > 0:
key = '/systemVariables/couplings' + key[1:]
key = '/systemVariables/couplings' + key
elif in_degree > 0 and out_degree == 0:
key = '/systemVariables/outputs' + key[1:]
key = '/systemVariables/outputs' + key
else:
key = '/systemVariables/holes' + key[1:]
key = '/systemVariables/holes' + key
var_dict = get_element_dict(key)
variable_tree_categorized_system_level = merge(variable_tree_categorized_system_level, var_dict)
logger.debug('Successfully created system level categorized variable tree.')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment