Skip to content

Add test for printing debug info#1296

Merged
wyli merged 18 commits into
Project-MONAI:masterfrom
rijobro:print_info
Dec 3, 2020
Merged

Add test for printing debug info#1296
wyli merged 18 commits into
Project-MONAI:masterfrom
rijobro:print_info

Conversation

@rijobro

@rijobro rijobro commented Nov 26, 2020

Copy link
Copy Markdown
Contributor

Description

Sorry, it seems I forgot to add the unit test for printing debug info.

Status

Ready

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • New tests added to cover the changes.
  • Integration tests passed locally by running ./runtests.sh --codeformat --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com>
Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com>
Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com>
Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com>
Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com>
@wyli

wyli commented Nov 26, 2020

Copy link
Copy Markdown
Contributor

I actually forgot to mention that please add psutil to this doc https://github.com/Project-MONAI/MONAI/blob/master/docs/source/installation.md#installing-the-recommended-dependencies (similar to tqdm and lmdb)

Signed-off-by: Rich <33289025+rijobro@users.noreply.github.com>
@rijobro

rijobro commented Nov 26, 2020

Copy link
Copy Markdown
Contributor Author

@wyli I've also updated the bug report to use the debug output, so I'll also need to print OS, python version and CUDA/cuDNN version.

As such, please don't merge this straight away.

@wyli

wyli commented Nov 26, 2020

Copy link
Copy Markdown
Contributor

sure there's a 'convert to draft' button on this PR page

@rijobro

rijobro commented Nov 26, 2020

Copy link
Copy Markdown
Contributor Author

@wyli thanks, done now.

Signed-off-by: Rich <33289025+rijobro@users.noreply.github.com>
Comment thread monai/utils/module.py Outdated
rijobro and others added 4 commits November 26, 2020 19:26
Signed-off-by: Rich <33289025+rijobro@users.noreply.github.com>
remove utf-8 char

Signed-off-by: Wenqi Li <wenqil@nvidia.com>
wyli added 2 commits December 3, 2020 18:10
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
@wyli

wyli commented Dec 3, 2020

Copy link
Copy Markdown
Contributor

/integration-test /black

@wyli wyli left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

thanks, passed all tests and also locally verified

@wyli wyli merged commit 8f80ac5 into Project-MONAI:master Dec 3, 2020
@rijobro rijobro deleted the print_info branch December 9, 2020 16:21
@Nic-Ma Nic-Ma mentioned this pull request Apr 3, 2021
7 tasks
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.

2 participants