Skip to content

2552 Fix ToNumpy issue with 0-dim data#2553

Merged
Nic-Ma merged 6 commits intoProject-MONAI:devfrom
Nic-Ma:2552-fix-tonumpy
Jul 8, 2021
Merged

2552 Fix ToNumpy issue with 0-dim data#2553
Nic-Ma merged 6 commits intoProject-MONAI:devfrom
Nic-Ma:2552-fix-tonumpy

Conversation

@Nic-Ma
Copy link
Copy Markdown
Contributor

@Nic-Ma Nic-Ma commented Jul 8, 2021

Fixes #2552 .

Description

This PR enhanced the ToNumpy transform to support 0-dim data.

Status

Ready

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • 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.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jul 8, 2021

/black

Signed-off-by: Nic Ma <[email protected]>
@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jul 8, 2021

/black

@Nic-Ma Nic-Ma enabled auto-merge (squash) July 8, 2021 03:39
@Nic-Ma Nic-Ma merged commit 4ece449 into Project-MONAI:dev Jul 8, 2021
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.

ToNumpy changed the dim of 0-dim data

2 participants