Skip to content

Commit

Permalink
Merge pull request #23 from chrisfilo/enh/limit
Browse files Browse the repository at this point in the history
[ENH] Final API changes
  • Loading branch information
oesteban authored Jun 1, 2017
2 parents 71f8f8d + 7d7f177 commit ede27b7
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions dockereve-master/eve-app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
'type': 'string',
'required': True
},
'session_id': {'type': 'string'},
'run_id': {'type': 'string'},
'acq_id': {'type': 'string'},
'task_id': {'type': 'string'},
Expand Down Expand Up @@ -285,7 +286,7 @@

}

t1w_iqms_schema = {
struct_iqms_schema = {
'cjv': {
'type': 'float',
'required': True
Expand All @@ -301,7 +302,6 @@
'fber': {
'type': 'float',
'required': True

},
'fwhm_avg': {
'type': 'float',
Expand Down Expand Up @@ -556,18 +556,19 @@
'MONGO_DBNAME': 'scenarios',
'PUBLIC_METHODS': ['GET'],
'PUBLIC_ITEM_METHODS': ['GET'],
'RESOURCE_METHODS': ['GET', 'POST'],
'ITEM_METHODS': ['GET'],
'X_DOMAINS': '*',
'DOMAIN': {
'bold': {
'item_title': 'bold',
'resource_methods': ['GET', 'POST'],
'item_methods': ['GET', 'PATCH', 'PUT', 'DELETE'],
}, # end of bold
},
'T1w': {
'item_title': 'T1w',
'resource_methods': ['GET', 'POST'],
'item_methods': ['GET', 'PATCH', 'PUT', 'DELETE'],
} # end of T1w
},
'T2w': {
'item_title': 'T2w',
}

}
}
Expand Down Expand Up @@ -597,7 +598,7 @@
})


my_settings['DOMAIN']['T1w']['schema'] = deepcopy(t1w_iqms_schema)
my_settings['DOMAIN']['T1w']['schema'] = deepcopy(struct_iqms_schema)
my_settings['DOMAIN']['T1w']['schema'].update(
{
'bids_meta': {
Expand All @@ -612,3 +613,6 @@
}
}
)

my_settings['DOMAIN']['T2w']['schema'] = deepcopy(my_settings['DOMAIN']['T1w']['schema'])

0 comments on commit ede27b7

Please sign in to comment.