Closed ThomasGalesloot closed 4 months ago
An error from attempting to read in empty data was occurring when simulating a scenario with no repairable emissions.
Added an except block to catch the error and instead initialize the repairable emissions dataframe with an empty dataframe.
This change will allow the simulation to run without error when no repairable emissions are present.
Patch to 4.0.1
All unit tests pass: unit_test_results.txt Error was resolved in manual test.
N/A
Could we get a note in the changelog?
Pull Request Key Information
Reason for change
An error from attempting to read in empty data was occurring when simulating a scenario with no repairable emissions.
What was changed
Added an except block to catch the error and instead initialize the repairable emissions dataframe with an empty dataframe.
Intended Purpose
This change will allow the simulation to run without error when no repairable emissions are present.
Level of version change required
Patch to 4.0.1
Testing Completed
All unit tests pass: unit_test_results.txt Error was resolved in manual test.
Target Issue
N/A
Additional Information
N/A