-
-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix scripts to run w/o .pudl.yml, create user environment.yml
Fixed try/except logic in setup module to catch FileNotFoundError correctly, and return None for pudl_in and pudl_out if there's no default file supplied by the user. Closes #406 Also created a separate "user" environment.yml file that is stored in `package_data` and deployed by the `pudl_setup` script, which installed catalystcoop.pudl using conda... or at least, it will, when the package is available on conda-forge. Will still need to figure out what the right way is to bootstrap the user into that conda environment, but that's a documentation issue. Will also obviously need to test the environment.yml file deployed in a clean environment. Progress toward #383
- Loading branch information
1 parent
3dd26f3
commit 7b6d073
Showing
4 changed files
with
24 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: pudl | ||
channels: | ||
- conda-forge | ||
- defaults | ||
dependencies: | ||
- catalystcoop.pudl | ||
- dask | ||
- jupyter | ||
- jupyterlab | ||
- pip | ||
- python>=3.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters