-
Notifications
You must be signed in to change notification settings - Fork 0
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
Save data to standard directory #53
Conversation
Hi @nichollsh Could you have a look at this PR and let me know what you think? |
FYI, Harrison is on vacation this week. |
Ah, good to know, seems like Laurent as well. I was wondering why it was so quiet on all my PRs 😅 |
I can see that I can get some reviewed during the week, but I will probably not be able to do all of them. |
No worries, there is no rush! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same changes as approved in Mors. Good.
* Set standard directory for data * Add CLI command, `janus env` to show env variables/data locations * Update documentation * Print destination * Uppercase variable
This PR adds a standard data directory for JANUS. You can still set
FWL_DATA
, but instead of crashing, JANUS will use a default directory instead.I single-sourced the FWL data directory to
janus.utils.data.FWL_DATA_DIR
, so you can dofrom janus.utils.data import FWL_DATA_DIR
. This avoids checking the env var in multiple places.I also added a small CLI command to check the current data locations:
Closes #36