Commit e4bffce6 authored by Theophile Terraz's avatar Theophile Terraz
Browse files

debug node name in adis BC

No related merge requests found
Pipeline #61425 passed with stages
in 1 minute and 2 seconds
Showing with 2 additions and 5 deletions
+2 -5
...@@ -365,11 +365,8 @@ class AdisTSwc(AdisTS): ...@@ -365,11 +365,8 @@ class AdisTSwc(AdisTS):
for BC in POL_BC: for BC in POL_BC:
node = next(filter( node = next(filter(
lambda x: x.id == BC.node, study.river._nodes lambda x: x.id == BC.node, study.river._nodes
)) # .name ))
print("node name in BC:", node_name = f"{node.id:3}".replace(" ", "x")
node, node.name,
self.get_node_name(node))
node_name = node.name # self.get_node_name(node)
f.write(f"${node_name}\n") f.write(f"${node_name}\n")
if BC.type == "Concentration": if BC.type == "Concentration":
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment