Skip to content

Conversation

@wyli
Copy link
Contributor

@wyli wyli commented Oct 29, 2022

Signed-off-by: Wenqi Li wenqil@nvidia.com

Fixes #5432
Fixes Project-MONAI/MONAILabel#1064

Description

convert potential itk types in img.GetMetaDataDictionary() to numpy arrays

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 --disttests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

wyli added 2 commits October 29, 2022 09:57
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
@wyli wyli marked this pull request as ready for review October 29, 2022 10:01
Copy link
Contributor

@SachidanandAlle SachidanandAlle left a comment

Choose a reason for hiding this comment

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

LGTM

@wyli
Copy link
Contributor Author

wyli commented Oct 29, 2022

/build

@wyli wyli enabled auto-merge (squash) October 29, 2022 10:16
@wyli wyli merged commit 350fe6e into Project-MONAI:dev Oct 29, 2022
KumoLiu pushed a commit that referenced this pull request Nov 2, 2022
Signed-off-by: Wenqi Li <wenqil@nvidia.com>

Fixes #5432 
Fixes Project-MONAI/MONAILabel#1064

### Description
convert potential itk types in `img.GetMetaDataDictionary()` to numpy
arrays

### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] 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).
- [x] New tests added to cover the changes.
- [ ] Integration tests passed locally by running `./runtests.sh -f -u
--net --coverage`.
- [x] Quick tests passed locally by running `./runtests.sh --quick
--unittests --disttests`.
- [x] In-line docstrings updated.
- [ ] Documentation updated, tested `make html` command in the `docs/`
folder.

Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Signed-off-by: KumoLiu <yunl@nvidia.com>
yiheng-wang-nv pushed a commit to yiheng-wang-nv/MONAI that referenced this pull request Nov 2, 2022
Signed-off-by: Wenqi Li <wenqil@nvidia.com>

Fixes Project-MONAI#5432 
Fixes Project-MONAI/MONAILabel#1064

### Description
convert potential itk types in `img.GetMetaDataDictionary()` to numpy
arrays

### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] 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).
- [x] New tests added to cover the changes.
- [ ] Integration tests passed locally by running `./runtests.sh -f -u
--net --coverage`.
- [x] Quick tests passed locally by running `./runtests.sh --quick
--unittests --disttests`.
- [x] In-line docstrings updated.
- [ ] Documentation updated, tested `make html` command in the `docs/`
folder.

Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Signed-off-by: Yiheng Wang <vennw@nvidia.com>
@wyli wyli deleted the label-1064 branch November 3, 2022 09:23
@wyli wyli mentioned this pull request Dec 8, 2022
7 tasks
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.

itkreader metadict not compatible with data collate RuntimeError: Unknown type: itkMatrixF44

2 participants