added pipeline_name and pipeline_version to list of variables returned in the aggregate graph response
updated API-side graph response handling to return pipeline info even in aggregate mode
minor conditional rewriting for clearer logic
Note: In this case, some tests started failing after the graph response handling logic was updated, since the mocked aggregate response from the graph used in those tests no longer matched the expected format (good). However, we are not yet to write a test that would fail under the original bug conditions (bad), since this would require a graph with data to test against. See https://github.com/neurobagel/api/issues/283
Checklist
This section is for the PR reviewer
[x] PR has an interpretable title with a prefix ([ENH], [FIX], [REF], [TST], [CI], [MNT], [INF], [MODEL], [DOC]) (see our Contributing Guidelines for more info)
[x] PR has a label for the release changelog or skip-release (to be applied by maintainers only)
[x] PR links to GitHub issue with mention Closes #XXXX
[x] Tests pass
[x] Checks pass
For new features:
[ ] Tests have been added
For bug fixes:
[ ] There is at least one test that would fail under the original bug conditions.
Changes proposed in this pull request:
pipeline_name
andpipeline_version
to list of variables returned in the aggregate graph responseNote: In this case, some tests started failing after the graph response handling logic was updated, since the mocked aggregate response from the graph used in those tests no longer matched the expected format (good). However, we are not yet to write a test that would fail under the original bug conditions (bad), since this would require a graph with data to test against. See https://github.com/neurobagel/api/issues/283
Checklist
This section is for the PR reviewer
[ENH]
,[FIX]
,[REF]
,[TST]
,[CI]
,[MNT]
,[INF]
,[MODEL]
,[DOC]
) (see our Contributing Guidelines for more info)skip-release
(to be applied by maintainers only)Closes #XXXX
For new features:
For bug fixes: