-
Notifications
You must be signed in to change notification settings - Fork 120
ENH: enable recursive glob (**) for run
#6262
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
adswa
left a comment
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.
Awesome! Thanks a lot! I just quickly glanced at the test failures for now, I believe they stem from a misspelled key in the examples - left a quick suggestion for that.
|
added |
Co-authored-by: Adina Wagner <adina.wagner@t-online.de>
Codecov Report
@@ Coverage Diff @@
## master #6262 +/- ##
==========================================
- Coverage 89.62% 86.21% -3.41%
==========================================
Files 323 323
Lines 41984 41979 -5
==========================================
- Hits 37629 36194 -1435
- Misses 4355 5785 +1430
Continue to review full report at Codecov.
|
adswa
left a comment
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.
This works nicely for me! Thanks a lot! I will wait a bit to give others a chance to spot things I may have missed, though :)
mih
left a comment
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.
Great, thx!
|
Looks great! My only "fear"s are
$> python3 -c "from glob import glob; print([x for x in glob('ds*/.git/**/*.nii.gz', recursive=True) if 'annex' in x])"
['ds003027/.git/annex/objects/ZJ/k5/MD5E-s89045275--1625ff12d9c2d4e35f50df32601a7bb2.nii.gz', 'ds003027/.git/annex/objects/ZJ/k5/MD5E-s89045275--1625ff12d9c2d4e35f50df32601a7bb2.nii.gz/MD5E-s89045275--1625ff12d9c2d4e35f50df32601a7bb2.nii.gz']
$> python3 -c "from glob import glob; print([x for x in glob('ds*/**/*.nii.gz', recursive=True) if 'annex' in x])"
[]so I guess we should be safe on that end. |
|
OK, let's proceed! A changelog will come. |
|
Its mentioned in the handbook now as well 👍 |
|
Great, thx! |
Closes #6241