Skip to content
Snippets Groups Projects
Commit 9bac72d5 authored by Ambrus Simon's avatar Ambrus Simon
Browse files

refactor getting analyses in ContainerHandler

parent 20841a4d
No related branches found
No related tags found
No related merge requests found
......@@ -232,7 +232,7 @@ class ContainerHandler(base.RequestHandler):
permchecker(noop)('GET', cid)
analyses = list(config.db.analyses.find({'parent.type': 'session', 'parent.id': cont['_id']}).sort('created', -1))
analyses = AnalysisStorage().get_analyses('session', cont['_id'])
acquisitions = cont.get('acquisitions', [])
results = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment