Skip to content
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

FIX: Catch random bad slice when testing image slicing #1221

Merged
merged 1 commit into from
Apr 4, 2023

Conversation

effigies
Copy link
Member

@effigies effigies commented Apr 4, 2023

We have an apparent Heisenbug that would occasionally cause Windows tests to fail on Python 3.10.

After booting up a Windows machine and running ~30k tests with different PYTHONHASHSEEDs, it turns out it's a regular old bug based on a random selection that has nothing to do with Windows and Python 3.10. If the dimensionality of the sliced dataobj (can go up with Nones) exceeds 7, Analyze-like images can't represent it.

@codecov
Copy link

codecov bot commented Apr 4, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (e221d77) 92.16% compared to head (8bb1b99) 92.16%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1221   +/-   ##
=======================================
  Coverage   92.16%   92.16%           
=======================================
  Files          98       98           
  Lines       12372    12372           
  Branches     2543     2543           
=======================================
  Hits        11403    11403           
  Misses        646      646           
  Partials      323      323           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@effigies effigies changed the base branch from master to maint/5.1.x April 4, 2023 20:14
@effigies effigies merged commit d4cf55f into nipy:maint/5.1.x Apr 4, 2023
@effigies effigies deleted the fix/test-slicing branch April 4, 2023 23:49
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.

1 participant