Skip to content
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

Merged

Conversation

SimonRubenDrauz
Copy link
Collaborator

Only pipes were considered so far. Now all Branch components are considered.

@codecov
Copy link

codecov bot commented Sep 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b7963eb) 85.06% compared to head (0380e4b) 85.12%.

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.
📢 Have feedback on the report? Share it here.

dlohmeier
dlohmeier previously approved these changes Nov 3, 2023
Copy link
Collaborator

@dlohmeier dlohmeier left a 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)
Copy link
Collaborator

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.

@SimonRubenDrauz SimonRubenDrauz merged commit d5d25ae into e2nIEE:develop Nov 17, 2023
14 checks passed
@SimonRubenDrauz SimonRubenDrauz deleted the bugfix/generic_geodata branch December 11, 2023 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants