-
Notifications
You must be signed in to change notification settings - Fork 10
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
Issue finding age in months from participants.tsv for v24.0.0 #388
Comments
I've also had some issues using TSV files for this. @lundq163 Can you by chance share the actual participants.tsv file? |
participants.txt important to note that this participants.tsv had worked for me when using previous versions but runs into the above error when using v24.0.0 |
Sorry @lundq163 can you send the TSV file to [email protected] ? I want to test this on my side, but I'd like to minimize the differences between our runtime environments (e.g. using txt instead of TSV) |
OK thanks @lundq163 , that is good to know. I can replicate this locally. Will look into a fix. |
Seems like the problem is multiple results are returned when querying the participants.tsv, since we aren't dual indexing with <subject, session>. We could add a fallback to handle this case, though I think using a The heuristic when searching for age is:
If you do have sessions.tsv, then it's possible the results are being skipped (and thus the next step of the heuristic is being used) after the changes in #376. This change was motivated by longitudinal studies potentially changing age units through the study's lifespan. In short, you can either be explicit and denote age within the tsv as We definitely should make some noise when this happens though, I think adding a warning here would be very helpful nibabies/nibabies/utils/bids.py Lines 296 to 297 in 8e2415f
|
Continued conversation at #389 |
What happened?
When submitting recent processing jobs with v24.0.0 I have been running into an error when trying to collect the age in months information from the participants.tsv that I've been using. Specifying the age in months with the
--age-months
flag and not using a participants.tsv can get around in the error in the meantime.What command did you use?
What version of NiBabies are you using?
v24.0.0
Relevant log output
Add any additional information or context about the problem here.
If any more information is needed please let me know. Happy to help with testing/troubleshooting as well, thanks!
The text was updated successfully, but these errors were encountered: