Skip to content

Commit

Permalink
fix computed file is null bug
Browse files Browse the repository at this point in the history
  • Loading branch information
avrohomgottlieb committed Dec 8, 2024
1 parent 7368829 commit 1578b57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/scpca_portal/management/commands/dispatch_to_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)
Expand Down

0 comments on commit 1578b57

Please sign in to comment.