Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
k1o0 authored Oct 16, 2023
2 parents 04393fc + 317dde7 commit ec74166
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/sync_ucl/prune_cortexlab.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@

# Since we currently still use both the project and the projects field, we need to filter for
# either containing an IBL project
ibl_proj = Q(project__name__icontains='ibl') | Q(projects__name__icontains='ibl')
ibl_proj = (Q(project__name__icontains='ibl') | Q(projects__name__icontains='ibl') |
Q(project__name='practice') | Q(projects__name='practice'))
ses = Session.objects.using('cortexlab').filter(ibl_proj)
# remove all subjects that never had anything to do with IBL
sub_ibl = list(ses.values_list('subject', flat=True))
Expand Down

0 comments on commit ec74166

Please sign in to comment.