Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 29, 2024
1 parent ac61bf1 commit 4ed28d8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/api/crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,11 @@ async def get(
dataset_total_subjects=matching_dataset_sizes[
dataset_uuid
],
dataset_portal_uri=group["dataset_portal_uri"].iloc[0]
if group["dataset_portal_uri"].notna().all()
else None,
dataset_portal_uri=(
group["dataset_portal_uri"].iloc[0]
if group["dataset_portal_uri"].notna().all()
else None
),
num_matching_subjects=group["sub_id"].nunique(),
records_protected=util.RETURN_AGG.val,
subject_data=subject_data,
Expand Down
1 change: 1 addition & 0 deletions tests/test_utility.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test utility functions."""

from app.api import utility as util


Expand Down

0 comments on commit 4ed28d8

Please sign in to comment.