feat: save all inputs in standardized locations, use on extract #111
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request doc
Purpose
Following discussion in #108, we:
prepare_inputs
function.get_output_scenarios
function to take only the root folder that inputs were prepared into, so that we can automatically use the standardized locations to load relevant data for output processingWhat the code is doing
In prepare.py, we save all user inputs that will be relevant for processing outputs, in a new subfolder of the switch inputs root names.
In switch_extract.py, we change the
get_output_scenarios
function to only require the switch project folder, since we know where all other files will live relative to this root.Usage example
Time estimate
15 minutes.