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

Add running WSIMOD saved files #48

Merged
merged 2 commits into from
Dec 20, 2023
Merged

Add running WSIMOD saved files #48

merged 2 commits into from
Dec 20, 2023

Conversation

dalonsoa
Copy link
Collaborator

@dalonsoa dalonsoa commented Dec 13, 2023

This PR adds the ability to directly run WSIMOD from previously saved config files, created with Model.save. This is less flexible, as the model needs to have been created manually beforehand, but it might be convenient for complex models for which the input data files need to be heavily pre-processed, beyond what the existing setup can handle.

To try this, run one of the existing tutorials but saving the model before running the model itself (you can finish the execution after saving the model). A yaml file a csv file witll be produced. Then, run WSIMOD from the command line passing this yaml file... and if all goes well, it should run.

Copy link
Contributor

@TinyMarsh TinyMarsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Tested and seems to work well.

@dalonsoa dalonsoa merged commit 7871ad2 into main Dec 20, 2023
21 checks passed
@dalonsoa dalonsoa deleted the input_file branch December 20, 2023 15:40
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.

None yet

2 participants