-
Notifications
You must be signed in to change notification settings - Fork 95
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
[FIX] Add resources folder to package data #772
Conversation
Codecov Report
@@ Coverage Diff @@
## main #772 +/- ##
=======================================
Coverage 93.20% 93.20%
=======================================
Files 27 27
Lines 2209 2209
=======================================
Hits 2059 2059
Misses 150 150 Continue to review full report at Codecov.
|
Intriguingly, I pulled |
When you say you pulled main, do you mean you used git? Or did you use pip? If you pulled the repository, then the data files will still be available. To reproduce:
If you then run tedana on example data, it should raise the FileNotFoundError.
I was just focused on fixing the bug, rather than improving our packaging. If we want to change our packaging, I would probably use |
Ah, I see. I didn't realize that was the failure mode; now reproduced. Okay, I think this will patch it. We may want to change packaging as part of our next release, but we can discuss tomorrow and there's no reason to hold this up. Thanks for the fix! |
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.
LGTM! Thanks @tsalo !
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.
LGTM!
Thanks @jbteves and @eurunuela! Merging now. |
Closes None. I was just testing a new install from the
main
branch and got the following:It looks like we forgot to add the new json files to our package data so that they'll be bundled with the library in distributions.
Changes proposed in this pull request:
resources/config/*
to package data insetup.py
.