diff --git a/api/scpca_portal/management/commands/dispatch_to_batch.py b/api/scpca_portal/management/commands/dispatch_to_batch.py index 3ef7a938..10bdeefb 100644 --- a/api/scpca_portal/management/commands/dispatch_to_batch.py +++ b/api/scpca_portal/management/commands/dispatch_to_batch.py @@ -70,7 +70,7 @@ def dispatch_to_batch(self, project_id: str = "", **kwargs): within that project. """ projects = ( - Project.objects.filter(project_computed_files__is_null=True) + Project.objects.filter(project_computed_files__isnull=True) if not project_id else Project.objects.filter(scpca_id=project_id) )