-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bugfix/generic geodata #568
Bugfix/generic geodata #568
Conversation
…pipes were considered. Adapted it accordingly that any branch component is considered.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #568 +/- ##
===========================================
+ Coverage 85.06% 85.12% +0.05%
===========================================
Files 90 90
Lines 6181 6179 -2
===========================================
+ Hits 5258 5260 +2
+ Misses 923 919 -4 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the adjustment! Just one small comment added.
#mask = _get_element_mask_from_nodes(net, "pipe", ["from_junction", "to_junction"], junctions) | ||
#for pipe in net.pipe[mask].itertuples(): | ||
# g.add_edge(pp_junction_mapping[pipe.from_junction], pp_junction_mapping[pipe.to_junction], | ||
# weight=pipe.length_km) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this part is not needed, I think we should just delete it.
Only pipes were considered so far. Now all Branch components are considered.