From cbfe8e9ff77497fb70714fd6e6d1264978c11003 Mon Sep 17 00:00:00 2001 From: juhuntenburg Date: Mon, 6 Nov 2023 10:37:44 +0100 Subject: [PATCH] adding carola to ucl import --- scripts/sync_ucl/prune_cortexlab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sync_ucl/prune_cortexlab.py b/scripts/sync_ucl/prune_cortexlab.py index b6be6c62..20b4ffca 100755 --- a/scripts/sync_ucl/prune_cortexlab.py +++ b/scripts/sync_ucl/prune_cortexlab.py @@ -83,7 +83,7 @@ # only imports users that are relevant to IBL users_to_import = ['cyrille', 'Gaelle', 'kenneth', 'lauren', 'matteo', 'miles', 'nick', 'olivier', - 'Karolina_Socha', 'Hamish', 'laura', 'niccolo', 'SamuelP'] + 'Karolina_Socha', 'Hamish', 'laura', 'niccolo', 'SamuelP', 'carola.quadrado'] users_to_leave = LabMember.objects.using('cortexlab').exclude(username__in=users_to_import) users_to_keep = Dataset.objects.using('cortexlab').values_list('created_by', flat=True).distinct() users_to_leave = users_to_leave.exclude(pk__in=users_to_keep)