-
Notifications
You must be signed in to change notification settings - Fork 125
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
Automatic placement of echo
results in BIDS-invalid format
#541
Comments
Hi @andrew-yian-sun , |
@pvelasco Yes, I'll try to get that to you tomorrow. Thanks! |
I think so. |
Sounds good. I'll close this now, but @andrew-yian-sun if you find that the problems persists, please feel free to follow up here. |
Add test for the dataset that raised #541
@tsalo I recently tried to the recent version of heudiconv, 0.10.0 but echo is still appearing in the wrong place: Is this issue still being fixed? |
The issue should be fixed, but the most recent release, 0.10.0, was in October of last year, while the fix was merged in February of this year. @yarikoptic is it maybe time for 0.11.0? |
Well, the problem is that I thought the So I would need to fix that, but I'm a little time constrained right now. I'll try to fix it by the end of the week. |
Thought to finish #544 before I do 0.11.0 but may be would need to cut it before then. That pr should make order follow bids schema thus guaranteed to be correct |
I take it back: So @andrew-yian-sun, when 0.11.0 is released (soon, hopefully), this issue should be fixed. If you can't wait and have |
@pvelasco is this the correct way to use
If so, I get the following error:
|
Hi @andrew-yian-sun, I haven't used From the docker build documentation, the correct command would be:
That said, using the command above returns a similar error:
Just to check it, I downloaded a copy of the repo and tried to docker-build it from that local folder:
But that gave an error (at Step 11/13). So it looks like the |
@pvelasco Just tried heudiconv v0.11.1, which worked as intended, thanks all! |
Glad it worked! |
Summary
I'm trying to get the following BIDS-valid output:
sub-0061_echo-1_part-mag_MEGRE.nii.gz
Related Github issue at bids-specification: https://github.com/bids-standard/bids-specification/issues/979However, it seems like
echo
is automatically generated by HeuDiConv to appear directly before_MEGRE
, making it BIDS invalid (echo
has to come beforepart
).The relevant part of my heuristic:
megre_mag = create_key('sub-{subject}/{session}/anat/sub-{subject}_{session}_part-mag_MEGRE')
I omit
echo
because it otherwise will generate 2 instances of echo in my output.Platform details:
Choose one:
The text was updated successfully, but these errors were encountered: