Skip to content

2146 Enhance PersistentDataset with shutil.move#2147

Merged
Nic-Ma merged 6 commits intoProject-MONAI:devfrom
Nic-Ma:2146-enhance-cache-dir
May 7, 2021
Merged

2146 Enhance PersistentDataset with shutil.move#2147
Nic-Ma merged 6 commits intoProject-MONAI:devfrom
Nic-Ma:2146-enhance-cache-dir

Conversation

@Nic-Ma
Copy link
Copy Markdown
Contributor

@Nic-Ma Nic-Ma commented May 6, 2021

Fixes #2146 .

Description

This PR replaced the os.move with shutil.move in PersistentDataset.

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 May 6, 2021

/black

@Nic-Ma Nic-Ma requested review from ericspod, rijobro and wyli May 6, 2021 02:20
@Nic-Ma Nic-Ma requested a review from YuanTingHsieh May 6, 2021 08:15
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, need the internal verification I think

Copy link
Copy Markdown
Collaborator

@YuanTingHsieh YuanTingHsieh left a comment

Choose a reason for hiding this comment

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

LGTM, internal test passed

@Nic-Ma Nic-Ma merged commit c16c629 into Project-MONAI:dev May 7, 2021
yanielc pushed a commit to yanielc/MONAI that referenced this pull request May 10, 2021
* [DLMED] use shutil.move instead

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

* [MONAI] python code formatting

Signed-off-by: monai-bot <[email protected]>

Co-authored-by: monai-bot <[email protected]>
Co-authored-by: Wenqi Li <[email protected]>
Signed-off-by: Yaniel Cabrera <[email protected]>
yanielc pushed a commit to yanielc/MONAI that referenced this pull request May 13, 2021
* [DLMED] use shutil.move instead

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

* [MONAI] python code formatting

Signed-off-by: monai-bot <[email protected]>

Co-authored-by: monai-bot <[email protected]>
Co-authored-by: Wenqi Li <[email protected]>
Signed-off-by: Yaniel Cabrera <[email protected]>
yanielc pushed a commit to yanielc/MONAI that referenced this pull request May 13, 2021
* [DLMED] use shutil.move instead

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

* [MONAI] python code formatting

Signed-off-by: monai-bot <[email protected]>

Co-authored-by: monai-bot <[email protected]>
Co-authored-by: Wenqi Li <[email protected]>
Signed-off-by: Yaniel Cabrera <[email protected]>
wyli added a commit that referenced this pull request May 26, 2021
* [DLMED] use shutil.move instead

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

* [MONAI] python code formatting

Signed-off-by: monai-bot <[email protected]>

Co-authored-by: monai-bot <[email protected]>
Co-authored-by: Wenqi Li <[email protected]>
wyli added a commit that referenced this pull request May 26, 2021
* [DLMED] use shutil.move instead

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

* [MONAI] python code formatting

Signed-off-by: monai-bot <[email protected]>

Co-authored-by: monai-bot <[email protected]>
Co-authored-by: Wenqi Li <[email protected]>
wyli added a commit that referenced this pull request May 26, 2021
* [DLMED] use shutil.move instead

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

* [MONAI] python code formatting

Signed-off-by: monai-bot <[email protected]>

Co-authored-by: monai-bot <[email protected]>
Co-authored-by: Wenqi Li <[email protected]>
wyli added a commit that referenced this pull request May 26, 2021
* [DLMED] use shutil.move instead

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

* [MONAI] python code formatting

Signed-off-by: monai-bot <[email protected]>

Co-authored-by: monai-bot <[email protected]>
Co-authored-by: Wenqi Li <[email protected]>
wyli added a commit that referenced this pull request May 26, 2021
* [DLMED] use shutil.move instead

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

* [MONAI] python code formatting

Signed-off-by: monai-bot <[email protected]>

Co-authored-by: monai-bot <[email protected]>
Co-authored-by: Wenqi Li <[email protected]>
wyli added a commit that referenced this pull request May 27, 2021
* [DLMED] use shutil.move instead

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

* [MONAI] python code formatting

Signed-off-by: monai-bot <[email protected]>

Co-authored-by: monai-bot <[email protected]>
Co-authored-by: Wenqi Li <[email protected]>
wyli added a commit that referenced this pull request May 27, 2021
* [DLMED] use shutil.move instead

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

* [MONAI] python code formatting

Signed-off-by: monai-bot <[email protected]>

Co-authored-by: monai-bot <[email protected]>
Co-authored-by: Wenqi Li <[email protected]>
wyli added a commit that referenced this pull request May 27, 2021
* [DLMED] use shutil.move instead

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

* [MONAI] python code formatting

Signed-off-by: monai-bot <[email protected]>

Co-authored-by: monai-bot <[email protected]>
Co-authored-by: Wenqi Li <[email protected]>
@Nic-Ma Nic-Ma deleted the 2146-enhance-cache-dir branch July 2, 2021 23:36
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.

PersistentDataset tempfile issue

4 participants