PyPSA / pypsa-usa

PyPSA-USA: An Open-Source Energy System Optimization Model for the United States
https://pypsa-usa.readthedocs.io
MIT License
35 stars 15 forks source link

If workflow/config doesn't exist init_pypsa_usa.sh error #279

Closed ktehranchi closed 2 months ago

ktehranchi commented 2 months ago

Checklist

The Issue

If the workflow/config folder doesnt already exist, then the init_pypsa_usa.sh script fails with the error message....

Steps To Reproduce

No response

Expected Behavior

No response

Error Message

~/Local_Documents/pypsa-usa_mainfork 
 $  bash init_pypsa_usa.sh
ls: workflow/config: No such file or directory
Copying config files from 'workflow/repo_data/config' to 'workflow/config'...
cp: workflow/config is not a directory

Anything else?

No response

trevorb1 commented 2 months ago

Maybe lets just add a .gitkeep file?

trevorb1 commented 2 months ago

@ktehranchi I added a .gitkeep to ensure the folder is here upon cloning. But if you think we should modifiy the initialization script instead, please just reopen the issue and I can do that! :)