Skip to content

2103 Add deepcopy to PosNegCrop transform#2104

Merged
Nic-Ma merged 6 commits intoProject-MONAI:masterfrom
Nic-Ma:2103-deepcopy-posnegcrop
Apr 28, 2021
Merged

2103 Add deepcopy to PosNegCrop transform#2104
Nic-Ma merged 6 commits intoProject-MONAI:masterfrom
Nic-Ma:2103-deepcopy-posnegcrop

Conversation

@Nic-Ma
Copy link
Copy Markdown
Contributor

@Nic-Ma Nic-Ma commented Apr 28, 2021

Fixes #2103 .

Description

This PR changed to use deepcopy and added more unit tests.

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 Apr 28, 2021

/black

@Nic-Ma Nic-Ma requested review from ericspod, rijobro and wyli April 28, 2021 01:18
@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Apr 28, 2021

/black

@Nic-Ma Nic-Ma enabled auto-merge (squash) April 28, 2021 10:52
@Nic-Ma Nic-Ma merged commit 12f267c into Project-MONAI:master Apr 28, 2021
wyli pushed a commit that referenced this pull request May 26, 2021
* [DLMED] fix shallow copy issue

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] add patch_index to RandWeightedCrop

Signed-off-by: Nic Ma <[email protected]>
wyli pushed a commit that referenced this pull request May 26, 2021
* [DLMED] fix shallow copy issue

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] add patch_index to RandWeightedCrop

Signed-off-by: Nic Ma <[email protected]>
wyli pushed a commit that referenced this pull request May 26, 2021
* [DLMED] fix shallow copy issue

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] add patch_index to RandWeightedCrop

Signed-off-by: Nic Ma <[email protected]>
wyli pushed a commit that referenced this pull request May 27, 2021
* [DLMED] fix shallow copy issue

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] add patch_index to RandWeightedCrop

Signed-off-by: Nic Ma <[email protected]>
wyli pushed a commit that referenced this pull request May 27, 2021
* [DLMED] fix shallow copy issue

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] add patch_index to RandWeightedCrop

Signed-off-by: Nic Ma <[email protected]>
wyli pushed a commit that referenced this pull request May 27, 2021
* [DLMED] fix shallow copy issue

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] add patch_index to RandWeightedCrop

Signed-off-by: Nic Ma <[email protected]>
@Nic-Ma Nic-Ma deleted the 2103-deepcopy-posnegcrop branch July 2, 2021 23:39
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.

Need to deepcopy data in RandCropByPosNegLabeld transform

2 participants