-
Notifications
You must be signed in to change notification settings - Fork 294
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
[URGENT] Degenerate derivatives #1075
Comments
It's this bit: It assumes that the input is uncompressed. |
@mgxd can you/would you like to submit a fix? |
I think if we do def copy_any(src, dst):
src_gz = src.endswith('.gz')
dst_gz = dst.endswith('.gz')
if src_gz == dst_gz:
copy(src, dst)
src_open = gzip.open if src_gz else open
dst_open = gzip.open if dst_gz else open
with src_open(src, 'rb') as f_in:
with dst_open(dst, 'wb') as f_out:
copyfileobj(f_in, f_out) And if we want to permit hardlinks, nipype's |
Closed via #1077 |
Some of the reportlets are broken since we merged #1077: https://2844-53175327-gh.circle-artifacts.com/0/tmp/ds000210/derivatives/fmriprep/sub-02.html |
This PR tries to fix nipreps#1075 for good.
Since #1001 was merged in, the bold derivatives (at least the
space-MNI...
ones) are broken.My intuition is that these changes on the Datasink introduced some problem 744de95...677c556#diff-7bf7d3ca48aa501c95ee753280fb3ee1
If I track back the files to the node that feeds the datasink, they look okay.
The text was updated successfully, but these errors were encountered: