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

Fixed issue 108: load_model failed #116

Conversation

pritchardtom
Copy link
Contributor

The save.model.R file in current version of SSDM creates an esdmeval.csv file under Model/Species/Species_Name/Tables, but the load.model.R code expects the file to be named ESDMeval.csv and throws an error when attempting to load the saved model.

This branch edits this save.model.R file and on testing, successfully names the files produced as ESDMeval.csv and allows models to load without errors.

Testing done on a HPC cluster using a Singularity container.

@sylvainschmitt
Copy link
Owner

Dear @pritchardtom , first sorry for this late reply as SSDM was a bit in dormancy. Secondly many thanks for the PR. I'll include it asap.

@sylvainschmitt sylvainschmitt merged commit abae27f into sylvainschmitt:master May 15, 2024
@sylvainschmitt sylvainschmitt mentioned this pull request May 15, 2024
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.

2 participants