Skip to content

Prevent DataFrame reassignment in input validation - #58

Open
utsinboots wants to merge 1 commit into
OSeMOSYS:masterfrom
utsinboots:fix/validate-inputs-dataframe-mutation
Open

Prevent DataFrame reassignment in input validation#58
utsinboots wants to merge 1 commit into
OSeMOSYS:masterfrom
utsinboots:fix/validate-inputs-dataframe-mutation

Conversation

@utsinboots

Copy link
Copy Markdown

Summary

Ports a validation fix previously merged in MUIOGO.
Uses separate variables for aggregated DataFrames in validateInputs() instead of overwriting the original DataFrame variables. This preserves the original validation data for any subsequent checks and makes the validation flow safer to maintain.

Testing
-Ran input validation on the CLEWs Demo and confirmed all ten validation checks completed with the expected results.

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.

1 participant