-
Notifications
You must be signed in to change notification settings - Fork 163
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
[FIX] Change recording entity to REQUIRED for pet/blood modality #1005
Conversation
Not sure what the circleci thing is about. |
Hi @ghisvail! Thanks for raising this issue. It states in the PET-BIDS spec that the recording entity is optional, unless several recordings are used (i.e. manual and autosampler). So the example case you are referring to is not incorrect, but the recording entity could in principle be left out, and then the type of recording should be stated in the corresponding json file. I am somewhat hesitant to support your proposed change, because sometimes only the data after combining manual and autosamples is available (+ after additional modeling), and then it would be unclear what entity this data should have, as it is now a mixture between manual and autosamples. In this case, the entity could be left out (because it’s optional) and then described more thoroughly in the json. I know this is actually now derived data after combining the blood recordings, but I have seen cases where only this information is available. I would like not to block the sharing of this data. Let me know what you think of these potential concerns. Also tagging @CPernet and @mathesong to this discussion. |
The intent is for the Would that be satisfactory? Or do you feel there still needs to be an update or additional example added to the examples? |
The lack of consistency between the generated template in the docs, the wording of the paragraph and the example I linked to really makes the interpretation of this part of the spec quite confusing. Assuming the recording entity is indeed optional, then we should go with @bendhouseart suggestion to fix the rules generating the template and the inconsistent example I linked. |
The example you are referring to won't be inconsistent independent of whether the recording entity is required or optional. But after thinking more about this I am inclined to keep the recording entity required, as it provides clarity on the recording type, which is important for the person modelling the blood data and may not be present in the corresponding json file. My previous argument was indeed for derived blood data, so this is considerations to take into account for the PET derivatives. |
Again, thanks for raising this issue @ghisvail. |
You're welcome. Thank you all for taking time reviewing it and providing the additional pieces of context I was missing. |
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.
Following the discussion above, I am fine with changing it to be required. The only question for me is what we do if people "only" have the merged (auto plus manual samples) left, e.g. for legacy data. Yes, this would in principle be a derivative, but I wonder if that's not in some cases the only raw data left. Do we anticipate this to become an issue?
This feels like the 80/20 rule ought to take precedence here: I think it's going to be a very small minority of PET datasets for which the auto / manual nature of the blood samples is no longer known. I would support the change to make the recording type required. From a purely pragmatic perspective, I've dealt with data where I've not had access to which samples were auto and manual, and one just has to treat everything as if it's manual data. I think that's quite an uncontroversial take (though of course you could do something fancy with guessing which are which, but it would be need to be tailored for the specifics of the dataset). So one strategy might be to just include in the text that if the auto/manual nature of the data is unknown, that everything can just be labelled as manual? |
I'd be happy to add the proposed change to this PR. Is everyone in favour for it? |
Thanks for your take on this @mathesong - I agree with you. @ghisvail please feel free to add the proposed change to this PR. Thank you. |
Dear @bendhouseart, we have two approvals now, can you merge please? Thanks! |
Done 👍 |
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 think the second edited sentence needs some tweaking. I do agree that this PR should be merged soon though.
src/04-modality-specific-files/09-positron-emission-tomography.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Taylor Salo <tsalo006@fiu.edu>
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.
LGTM!
Thanks everyone 👍 @mnoergaard could you briefly confirm that the validator does not need to be adjusted due to the changes here? |
LGTM - thanks @sappelhoff |
To make it consistent with the rules and the examples