Skip to content

3146 Added callable example to the doc-string of output_transform#3158

Merged
Nic-Ma merged 14 commits into
Project-MONAI:devfrom
Nic-Ma:3146-update-output-transform-doc
Oct 22, 2021
Merged

3146 Added callable example to the doc-string of output_transform#3158
Nic-Ma merged 14 commits into
Project-MONAI:devfrom
Nic-Ma:3146-update-output-transform-doc

Conversation

@Nic-Ma

@Nic-Ma Nic-Ma commented Oct 20, 2021

Copy link
Copy Markdown
Contributor

Fixes #3146 .

Description

This PR added example callable or lambda function to the doc-string of output_transform, especially to show the decollated case.

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

Nic-Ma commented Oct 20, 2021

Copy link
Copy Markdown
Contributor Author

/black

@Nic-Ma

Nic-Ma commented Oct 20, 2021

Copy link
Copy Markdown
Contributor Author

/build

@Nic-Ma

Nic-Ma commented Oct 20, 2021

Copy link
Copy Markdown
Contributor Author

/build

Comment thread monai/handlers/classification_saver.py Outdated
@Nic-Ma Nic-Ma mentioned this pull request Oct 21, 2021
@wyli

wyli commented Oct 21, 2021

Copy link
Copy Markdown
Contributor

/build

Signed-off-by: Nic Ma <nma@nvidia.com>
@Nic-Ma

Nic-Ma commented Oct 22, 2021

Copy link
Copy Markdown
Contributor Author

/black

@Nic-Ma

Nic-Ma commented Oct 22, 2021

Copy link
Copy Markdown
Contributor Author

/build

Signed-off-by: monai-bot <monai.miccai2019@gmail.com>
@Nic-Ma

Nic-Ma commented Oct 22, 2021

Copy link
Copy Markdown
Contributor Author

/build

@Nic-Ma

Nic-Ma commented Oct 22, 2021

Copy link
Copy Markdown
Contributor Author

As the test PyTorch had been updated to 1.10, there is some flake8 issue, I added the fix referring to @wyli 's draft PR: #3169.

Thanks.

Signed-off-by: Nic Ma <nma@nvidia.com>
@Nic-Ma Nic-Ma enabled auto-merge (squash) October 22, 2021 08:41
@Nic-Ma

Nic-Ma commented Oct 22, 2021

Copy link
Copy Markdown
Contributor Author

/black

@Nic-Ma

Nic-Ma commented Oct 22, 2021

Copy link
Copy Markdown
Contributor Author

/build

@Nic-Ma

Nic-Ma commented Oct 22, 2021

Copy link
Copy Markdown
Contributor Author

/build

@wyli

wyli commented Oct 22, 2021

Copy link
Copy Markdown
Contributor

/build

Comment thread monai/transforms/croppad/array.py
@Nic-Ma Nic-Ma merged commit 51bebf3 into Project-MONAI:dev Oct 22, 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.

Add output_transform example for decollated data in handlers

5 participants