Skip to content
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

Changed pypet2bids to check env for vars #292

Merged

Conversation

bendhouseart
Copy link
Contributor

@bendhouseart bendhouseart commented Apr 2, 2024

Added logic so that if a .pet2bidsconfig file isn't found (or able to be written) check_pet2bids_config will return whatever value it is able to locate from environment variables. This might just be a new footgun, but it's got the virtue of being new.

Closes issue #291


📚 Documentation preview 📚: https://pet2bids--292.org.readthedocs.build/en/292/

Added logic so that if a .pet2bidsconfig file isn't found (or
able to be written) check_pet2bids_config will return whatever value
it is able to locate from environment variables. This might just be a
new footgun, but it's got the virtue of being new.
@bendhouseart bendhouseart linked an issue Apr 2, 2024 that may be closed by this pull request
@bendhouseart bendhouseart self-assigned this Apr 2, 2024
@bendhouseart bendhouseart linked an issue Apr 2, 2024 that may be closed by this pull request
@bendhouseart bendhouseart linked an issue Apr 2, 2024 that may be closed by this pull request
@bendhouseart bendhouseart merged commit ae362cf into main Apr 3, 2024
16 checks passed
@bendhouseart bendhouseart deleted the 291-feature-request-bug-ability-to-disable-config-file branch April 3, 2024 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant