Skip to content

Conversation

@bhashemian
Copy link
Member

Fixes #5109

Description

Updates SplitDimd to have the option of outputting a list of dictionaries.

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • New tests added to cover the changes.
  • Integration tests passed locally by running ./runtests.sh -f -u --net --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick --unittests --disttests.
  • In-line docstrings updated.

Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com>
Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com>
@Nic-Ma Nic-Ma requested a review from KumoLiu September 13, 2022 00:22
@bhashemian
Copy link
Member Author

@Nic-Ma @KumoLiu for reviewing this PR, could you please just select the first two commits, and let me know your comments. Thanks

KumoLiu
KumoLiu previously approved these changes Sep 13, 2022
@Nic-Ma
Copy link
Contributor

Nic-Ma commented Sep 13, 2022

Hi @drbeh @wyli ,

@KumoLiu already approved the PR, so I think we can close it now as it's already merged to dev in another PR?

Thanks.

@KumoLiu KumoLiu dismissed their stale review September 13, 2022 06:17

Sorry for wrong click

@wyli
Copy link
Contributor

wyli commented Sep 13, 2022

Closing, there is no code change in this pr.

@wyli wyli closed this Sep 13, 2022
dimension will be squeezed.
update_meta: if `True`, copy `[key]_meta_dict` for each output and update affine to
reflect the cropped image
list_output: it `True`, the output will be a list of dictionaries with the same keys as original.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @drbeh, if list_output is True, it will return a list of dictionaries in your design. Do we need just one dictionary with orginal key and a list of data?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @KumoLiu, we want to have a list of dictionaries all with the same keys, so the transforms are being applied individually on each of them.

@bhashemian bhashemian deleted the listoutput-splitdimd branch February 22, 2023 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SplitDimd to output a list of dictionaries

4 participants