Skip to content

Conversation

@wyli
Copy link
Contributor

@wyli wyli commented Apr 5, 2021

Signed-off-by: Wenqi Li wenqil@nvidia.com

Fixes #1943

Status

Ready

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Quick tests passed locally by running ./runtests.sh --quick --unittests.

Signed-off-by: Wenqi Li <wenqil@nvidia.com>
@wyli wyli requested review from Nic-Ma and ericspod April 5, 2021 12:54
Copy link
Member

@ericspod ericspod left a comment

Choose a reason for hiding this comment

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

Was this a problem with Python 3.6 specifically?

@ericspod ericspod enabled auto-merge (squash) April 5, 2021 12:57
@wyli
Copy link
Contributor Author

wyli commented Apr 5, 2021

I've seen this in both 3.6 and 3.7, strangely the unit tests don't capture the error reported in the new threads?

@ericspod
Copy link
Member

ericspod commented Apr 5, 2021

The unittest framework might have issues capturing exceptions on separate threads, we'll have to look into this. I had used this class in Python 3.8 so perhaps something there changed.

@ericspod ericspod merged commit baf1bec into Project-MONAI:master Apr 5, 2021
nsrivathsa pushed a commit to nsrivathsa/MONAI that referenced this pull request Apr 12, 2021
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Signed-off-by: Neha Srivathsa <nsrivathsa@nvidia.com>
@wyli wyli deleted the 1943-threaddataloader branch April 29, 2021 11:04
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.

unit test ThreadDataLoader error

2 participants