Fixed issue 108: load_model failed #116
Merged
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.
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.