-
Notifications
You must be signed in to change notification settings - Fork 3
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
Enable pheno level session for response and query #78
Labels
flag:detail needed
Issue requires additional clarification before a decision can be made or it can be implemented.
released
This issue/pull request has been released.
Comments
18 tasks
Blocked by neurobagel/planning#96 |
surchs
added
the
flag:detail needed
Issue requires additional clarification before a decision can be made or it can be implemented.
label
Mar 9, 2024
Unblocked since neurobagel/planning#96 has been addressed |
3 tasks
@alyssadai do you have an example response from the API that includes |
Here you go @surchs: [
{
"dataset_uuid": "http://neurobagel.org/vocab/e0c7d08c-edcc-4c2a-816a-306878ed7be2",
"dataset_name": "BIDS synthetic",
"dataset_portal_uri": "https://github.com/bids-standard/bids-examples",
"dataset_total_subjects": 5,
"records_protected": false,
"num_matching_subjects": 5,
"subject_data": [
{
"sub_id": "sub-01",
"session_id": "ses-01",
"num_matching_phenotypic_sessions": 2,
"num_matching_imaging_sessions": 2,
"session_type": "http://neurobagel.org/vocab/ImagingSession",
"age": null,
"sex": null,
"diagnosis": [
null
],
"subject_group": null,
"assessment": [
null
],
"image_modal": [
"http://purl.org/nidash/nidm#T1Weighted",
"http://purl.org/nidash/nidm#FlowWeighted"
],
"session_file_path": "/data/neurobagel/bagel-cli/bids-examples/synthetic/sub-01/ses-01"
},
{
"sub_id": "sub-01",
"session_id": "ses-01",
"num_matching_phenotypic_sessions": 2,
"num_matching_imaging_sessions": 2,
"session_type": "http://neurobagel.org/vocab/PhenotypicSession",
"age": 34.1,
"sex": "http://purl.bioontology.org/ontology/SNOMEDCT/248152002",
"diagnosis": [
null
],
"subject_group": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C94342",
"assessment": [
"https://www.cognitiveatlas.org/task/id/trm_57964b8a66aed",
"https://www.cognitiveatlas.org/task/id/tsk_4a57abb949ece"
],
"image_modal": [
null
],
"session_file_path": null
},
...
] |
Thanks a lot @alyssadai ! |
surchs
changed the title
Parse new
Enable pheno level session for response and query
Mar 26, 2024
session_type
key from node API for disaggregating phenotypic + imaging session results
Blocked until #97 is reviewed to avoid messy rebasing |
|
7 tasks
github-project-automation
bot
moved this from Review - Active
to Review - Done
in Neurobagel
Apr 11, 2024
🚀 Issue was released in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
flag:detail needed
Issue requires additional clarification before a decision can be made or it can be implemented.
released
This issue/pull request has been released.
This issue is to address two things:
https://github.com/neurobagel/federation-api/blob/771b1a2fd21030ee3a6fe1a8bc6c37db401a8fd1/app/api/models.py#L20-L21
https://github.com/neurobagel/api/blob/c5c6222f77995e1b723e5ac24f7041151556b458/app/api/models.py#L13-L24
Steps:
session_type
:session_type
parameter / make that test passThe text was updated successfully, but these errors were encountered: