Skip to content

Minor enhancement for several places#4409

Merged
wyli merged 14 commits intoProject-MONAI:devfrom
Nic-Ma:minor-enhancement
May 31, 2022
Merged

Minor enhancement for several places#4409
wyli merged 14 commits intoProject-MONAI:devfrom
Nic-Ma:minor-enhancement

Conversation

@Nic-Ma
Copy link
Copy Markdown
Contributor

@Nic-Ma Nic-Ma commented May 31, 2022

Description

This PR added several minor enhancements:

  1. Added missing doc for monai.bundle init_bundle.
  2. Corrected description for spatial shape example in the bundle doc.
  3. Updated wrong typehints in all the pad transforms.
  4. @rijobro already updated the Pad transform arg np_kwargs to kwargs for both numpy and torch APIs, this PR corrected 2 missing transforms for this change.

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 --disttests.
  • 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 May 31, 2022

/black

@ericspod
Copy link
Copy Markdown
Member

@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented May 31, 2022

@ericspod
Copy link
Copy Markdown
Member

Sorry I meant the URL that's in md=b_specification.rst should be the one I gave rather than the temporary one that's given currently.

@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented May 31, 2022

Sorry I meant the URL that's in md=b_specification.rst should be the one I gave rather than the temporary one that's given currently.

Hi @ericspod ,

Sure, updated in the latest commit.

Thanks.

@Nic-Ma Nic-Ma marked this pull request as ready for review May 31, 2022 15:48
@Nic-Ma Nic-Ma requested review from ericspod, rijobro and wyli and removed request for ericspod May 31, 2022 15:48
Copy link
Copy Markdown
Contributor

@wyli wyli left a comment

Choose a reason for hiding this comment

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

looks good to me.

the docstring revision in transforms/croppad might cause some conflicts with #4371 cc @rijobro perhaps in #4371 please avoid updating the docstrings for now...

@wyli
Copy link
Copy Markdown
Contributor

wyli commented May 31, 2022

/build

@wyli wyli enabled auto-merge (squash) May 31, 2022 18:42
@wyli wyli merged commit a737d58 into Project-MONAI:dev May 31, 2022
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.

3 participants