-
Notifications
You must be signed in to change notification settings - Fork 62
TEST: Get data files for Node/Workflow tests #19
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
Conversation
|
@djarecka Could you tar up the files you're using for testing the surface sampling workflow? |
|
Looks like |
|
I've pulled down the relevant files for surface sampling. I'm getting the following printed in a loop: I'm assuming this shouldn't happen dozens of times? |
|
@effigies - |
|
Might as well. Using my own data wasn't working for me. |
|
@effigies - I kept the directory structure, but included only the files that are used in the test: |
|
Thanks. I'll try to have a look tonight. I think if we want to release today, what we should do is settle on the theoretical, environment-variable-based locations of these files, make sure that tests skip on the absence of the data, and just hit publish. Then we can make fixing the tests a 0.1.0 target. |
|
(Also, in meetings all day, so very limited ability to do more than comment.) |
|
I'll try to look later why |
|
also I can create a datalad repo from the fmriprep files, so we can test it with travis, but want to concentrate on other things first, will create an issue (#21) to remember |
|
Yeah, we can skip datalad on that for now. I also want to reduce the FreeSurfer files to the minimum necessary to perform sampling. |
|
I don't know how to recreate problem with |
pydra/engine/tests/test_node.py
Outdated
|
|
||
| @pytest.mark.skipif( | ||
| not os.path.exists("/Users/dorota/nipype_workshop/data/ds000114"), reason="adding data") | ||
| @pytest.mark.skipif(not DS114_DIR.exists(), reason="Missing $PYDRA_DATA_DIR/ds000114") |
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.
you called the dir PYDRA_TEST_DATA
|
ok, I know what is wrong with this test, you didn't change paths: https://github.com/nipype/pydra/pull/19/files#diff-2f4c9a06e6e1c89b63af0c7ec864cbe5R1659 I was wrong that it worked for mp/cf/dask, travis didn't even try. Of course, it worked on my laptop ;-) |
Codecov Report
@@ Coverage Diff @@
## master #19 +/- ##
=======================================
+ Coverage 76.4% 83.41% +7%
=======================================
Files 6 6
Lines 856 856
Branches 228 228
=======================================
+ Hits 654 714 +60
+ Misses 141 84 -57
+ Partials 61 58 -3
Continue to review full report at Codecov.
|
|
@effigies - are you still working on this. If not, I'll merge it and rest of the test we can do in a new PR. We will have a lot of conflict anyway, since all PRs are working on the same files, so might be better to keep PR relatively small if possible |
|
Sounds good. We can do a separate PR. |
test_newnode.test_newnode_neuro.Closes #14.