-
Notifications
You must be signed in to change notification settings - Fork 2
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
Implement check for missing participant_id
and session
values
#20
Comments
We want to keep our issues up to date and active. This issue hasn't seen any activity in the last 30 days. |
We want to keep our issues up to date and active. This issue hasn't seen any activity in the last 30 days. |
participant_id
sparticipant_id
and session
values
@nikhil153, @michellewang: I'd like to address this soon, let me know if the issue description makes sense to you or if you have any thoughts on any of the |
In Nipoppy we force all imaging data to have a
Sounds good to me! |
I think if it's not too much work, I would prefer to have a check for either |
This makes sense! |
I don't mind forcing the user to have a @alyssadai for the imaging bagel I imagine that the "index" columns would be But maybe that should be a separate issue/discussion. |
Thanks for your feedback!!
I understand the logic. As a first step though, if we want to introduce the If you both agree that digest/schemas/bagel_schema_pheno.json Lines 15 to 19 in 08381a8
We then have the option to also add to both schemas a secondary session info column (presumably called For the current issue, it sounds like we're all in agreement that the
-- exactly this (when Let me know if that makes sense @nikhil153 @michellewang ! |
Yes, let's use |
We want to keep our issues up to date and active. This issue hasn't seen any activity in the last 75 days.
|
Both the imaging and phenotypic input schema require
participant_id
andsession
columns to be present, but currently the dashboard does not check whether there are any missing values in these columns.We do not want to keep this behaviour for several reasons, including:
NaN
) in these columns complicates the process of reshaping data into wide format, as they serve as 'index' columns which are expected to be non-missing valuessession
column is cast tostr
in the app to avoid numerical session labels being treated as continuous in plots, etc. - havingNaN
in this column makes the calculation of unique records (participant-sessions) pretty confusingDecisions:
session
for imaging bagelvisit
for phenotypic bagelparticipant_id
and{session, visit}
columns are present, there are no missing values for these columns (otherwise error)The text was updated successfully, but these errors were encountered: