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

Fix get_buses when a bus does not have an AggregationTopology #1207

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

daniel-thom
Copy link
Contributor

Fixes #1203

The function get_buses would fail with an unhandled exception if any bus did have an AggregationTopology assigned.

The function get_buses would fail with an unhandled exception if any bus
did have an AggregationTopology assigned.
@jd-lara jd-lara self-requested a review October 29, 2024 21:18
@jd-lara jd-lara self-assigned this Oct 29, 2024
Copy link

codecov bot commented Oct 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.37%. Comparing base (c7fcef0) to head (a603b75).
Report is 6 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1207   +/-   ##
=======================================
  Coverage   84.37%   84.37%           
=======================================
  Files         181      181           
  Lines        8382     8382           
=======================================
  Hits         7072     7072           
  Misses       1310     1310           
Flag Coverage Δ
unittests 84.37% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/base.jl 88.87% <100.00%> (ø)

@jd-lara jd-lara merged commit ec2c559 into NREL-Sienna:main Oct 31, 2024
10 checks passed
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.

get_buses fails when argument is area if Area is not assigned for all buses.
2 participants