Bug description
The path is set via splitting the current file directory at "memilio", which usually works as intended, i.e. setting the out_folder to "memilio/data". However, if there is another directory called memilio, e.g. "Projects/memilio/memilio" or if the git repo was renamed, out_folder is set to "memilio/../data" or "memilio/pycode/memilio-epidata/memilio/epidata", respectively.
Version
Windows
To reproduce
- Either
- clone memilio into a directory, which already contains memilio in its path.
- rename the memilio project directory
- Check defultDict["out_folder"]
Trying to use downloaded files from epidata with python examples or some simulations will also fail.
Relevant log output
Add any relevant information, e.g. used compiler, screenshots.
Checklist
Bug description
The path is set via splitting the current file directory at "memilio", which usually works as intended, i.e. setting the out_folder to "memilio/data". However, if there is another directory called memilio, e.g. "Projects/memilio/memilio" or if the git repo was renamed, out_folder is set to "memilio/../data" or "memilio/pycode/memilio-epidata/memilio/epidata", respectively.
Version
Windows
To reproduce
Trying to use downloaded files from epidata with python examples or some simulations will also fail.
Relevant log output
Add any relevant information, e.g. used compiler, screenshots.
Checklist