-
Notifications
You must be signed in to change notification settings - Fork 165
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
[ENH] Add "_phase" suffix to func datatype for functional phase data #128
Conversation
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.
I thought about this a little bit more and I am worried that this change will break a lot of existing software. The reason is that previously all _bold
images were assumed to be the magnitude and before this change there was no need to perform any additional checks. With this change, existing software will have to be modified to check for the part
filename keyword (even if the software in question does not do anything with phase images).
To avoid it I would suggest exploring a route that uses a different suffix or subfolder.
Since this will involve some discussion, should I close this PR and maybe raise an issue instead? |
I think we can discuss here and modify the PR as we go. It will keep
everything in one place (so we would not circle back to old ideas).
Best,
Chris
…On Sun, Jan 13, 2019 at 12:39 PM Taylor Salo ***@***.***> wrote:
Since this will involve some discussion, should I close this PR and maybe
raise an issue instead?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#128 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAOkp35PMB40A7TKlN12db6873zagWKvks5vC29kgaJpZM4Z81wl>
.
|
Here are some options that we've discussed:
Are there other good options worth discussing as well? |
I personally prefer |
I really like Should I update the PR or should we pull in others to weigh in first? |
I think it's worth updating the PR now. We will wait a few days for others to chime in. |
Hey @tsalo - the BEP001 team have a call on Thursday 24. It would be really great if you could hang tight for that call so I double check that the folks working on that extension don't have any big objections to |
That's no problem at all. Thanks for making sure there is integration. |
The BEP001 team has just discussed the issues and we do not have a strong opinion on this. |
Yep - as @tiborauer said - we (the BEP001 crew) don't think this needs to conform to the same formats etc, and I think @chrisfilo's point about having to check the previous datasets is a really good one. My gut instinct would be to keep the |
Thank you for looking into this. I'll go with the phase suffix within the func folder for now. I totally agree that the downsides are minimized in that case. |
@sappelhoff Would it be possible to change the name of this PR (and the change log) to reflect the actual change that was made? I failed to change the name when we switched from adding the "part" entity to adding a new suffix for functional phase data, so the change log is misleading. |
I am not sure whether it's possible to manually change the changelog, or whether that would lead to problems. Perhaps @franklin-feingold knows more? |
To change an entry in the changelog one needs to change the name of the original PR. This will be reflected in the changelog once a new PR is merged in (this will regenerate the changelog) |
That's good to hear. Would it then be alright for me to change the name of this PR so that it reflect the change that was actually merged? |
@tsalo Yes, please. |
Related to this PR: is there any provision to name the phase images for the |
@pvelasco I think that #367 might be a better place to discuss this, though my understanding is that |
When users choose to reconstruct both magnitude and phase images from their EPI sequences, they end up with full 4D phase time series. The "part" keyword is used in BEP001 for situations where there is both a magnitude and a phase image.
An alternative to this might be to place the phase time series in
fmap/
and to label them the same way one would label single-volume phase images (i.e., for Case 2 for field maps in the specification).UPDATE: Ultimately it was decided to add a new suffix under the
func
datatype (_phase
) for phase data, because doing otherwise would cause problems forpybids
and other tools/workflows.