Skip to content

Commit

Permalink
drop NaN file paths from aggregate query response
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssadai committed Feb 15, 2023
1 parent d49589b commit 46cfb98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api/crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ async def get(
dataset=dataset,
dataset_name=dataset_name,
num_matching_subjects=group["sub_id"].nunique(),
subject_file_paths=list(group["file_path"]),
subject_file_paths=list(group["file_path"].dropna()),
image_modals=list(group["image_modal"].unique()),
)
)
Expand Down

0 comments on commit 46cfb98

Please sign in to comment.