query.update({'library__affiliations__users__id': user.id})
lanes = Lane.objects.filter(**query).order_by('-flowcell__run_date')
query.update({'library__affiliations__users__id': user.id})
lanes = Lane.objects.filter(**query).order_by('-flowcell__run_date')
result.append({ 'flowcell': l.flowcell.flowcell_id,
'run_date': l.flowcell.run_date.isoformat(),
'lane_number': l.lane_number,
'library': l.library.id,
result.append({ 'flowcell': l.flowcell.flowcell_id,
'run_date': l.flowcell.run_date.isoformat(),
'lane_number': l.lane_number,
'library': l.library.id,