Skip to content

5251 replace None type metadict content with 'none'#5252

Merged
wyli merged 2 commits intoProject-MONAI:devfrom
wyli:5251-pil-converter-issue
Oct 3, 2022
Merged

5251 replace None type metadict content with 'none'#5252
wyli merged 2 commits intoProject-MONAI:devfrom
wyli:5251-pil-converter-issue

Conversation

@wyli
Copy link
Copy Markdown
Contributor

@wyli wyli commented Oct 3, 2022

Signed-off-by: Wenqi Li [email protected]

Fixes #5251

Description

replace None with "none" in the readers

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.

Copy link
Copy Markdown
Contributor

@Nic-Ma Nic-Ma left a comment

Choose a reason for hiding this comment

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

Please confirm all the other places in the codebase with "none" to convert to TraceKeys.NONE.

Thanks in advance.

@wyli wyli marked this pull request as ready for review October 3, 2022 14:46
@wyli
Copy link
Copy Markdown
Contributor Author

wyli commented Oct 3, 2022

/build

@wyli wyli enabled auto-merge (squash) October 3, 2022 14:47
@wyli wyli merged commit 9b4b84f into Project-MONAI:dev Oct 3, 2022
@wyli wyli deleted the 5251-pil-converter-issue branch October 3, 2022 15:30
wyli added a commit that referenced this pull request Oct 10, 2022
Signed-off-by: Wenqi Li <[email protected]>

Fixes #5251

### Description
replace `None` with `"none"` in the readers

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

Signed-off-by: Wenqi Li <[email protected]>
KumoLiu pushed a commit that referenced this pull request Nov 2, 2022
Signed-off-by: Wenqi Li <[email protected]>

Fixes #5251

### Description
replace `None` with `"none"` in the readers

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

Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: KumoLiu <[email protected]>
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.

LoadImage PILReader with converter

2 participants