Skip to content

Commit

Permalink
remove user from the UCL imports so his account is unsynced
Browse files Browse the repository at this point in the history
  • Loading branch information
oliche committed Jun 4, 2024
1 parent b16d183 commit ad12b43
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 @@ -78,7 +78,8 @@
Project.objects.using('cortexlab').exclude(pk__in=pk_projs).delete()

# only imports users that are relevant to IBL
users_to_import = ['cyrille', 'Gaelle', 'kenneth', 'lauren', 'matteo', 'miles', 'nick', 'olivier',
# OW: I removed nick from the import so his IBL account is active but his cortexlab expired
users_to_import = ['cyrille', 'Gaelle', 'kenneth', 'lauren', 'matteo', 'miles', 'olivier',
'Karolina_Socha', 'Hamish', 'laura', 'niccolo', 'SamuelP', 'miriam.jansen',
'carolina.quadrado']
users_to_leave = LabMember.objects.using('cortexlab').exclude(username__in=users_to_import)
Expand Down

0 comments on commit ad12b43

Please sign in to comment.