Skip to content

1943 - fixes ThreadDataLoader #1945

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 5, 2021

Conversation

wyli
Copy link
Contributor

@wyli wyli commented Apr 5, 2021

Signed-off-by: Wenqi Li [email protected]

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 <[email protected]>
@wyli wyli requested review from ericspod and Nic-Ma 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 <[email protected]>
Signed-off-by: Neha Srivathsa <[email protected]>
@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