Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure API response can handle matching datasets lacking pipeline data #368

Open
alyssadai opened this issue Oct 25, 2024 · 0 comments
Open
Assignees

Comments

@alyssadai
Copy link
Contributor

alyssadai commented Oct 25, 2024

We need to ensure the presence of NaNs for pipeline_name and pipeline_version don't break things:

api/app/api/crud.py

Lines 202 to 220 in 9913736

pipeline_grouped_data = (
group.groupby(
[
"sub_id",
"session_id",
"session_type",
"pipeline_name",
],
dropna=True,
)
.agg(
{
"pipeline_version": lambda x: list(
x.dropna().unique()
)
}
)
.reset_index()
)

@alyssadai alyssadai self-assigned this Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Implement - Active
Development

No branches or pull requests

1 participant