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

TEST: Allow SVD columns to flip sign #3405

Merged
merged 2 commits into from
Nov 6, 2021

Conversation

effigies
Copy link
Member

@effigies effigies commented Nov 6, 2021

Debian's updating LAPACK to 3.10 revealed that we weren't handling sign flips for CompCor components.

This patch is split into two components, one cleaning up the test so we can use np.allclose, and the other switching to and validating an allclose that tolerates sign flips of entire columns, but not arbitrary sign flips.

Closes #3382.

@effigies effigies mentioned this pull request Nov 6, 2021
@codecov
Copy link

codecov bot commented Nov 6, 2021

Codecov Report

Merging #3405 (de0d541) into master (ae1e033) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3405   +/-   ##
=======================================
  Coverage   65.21%   65.21%           
=======================================
  Files         307      307           
  Lines       40474    40474           
  Branches     5351     5351           
=======================================
  Hits        26395    26395           
  Misses      13004    13004           
  Partials     1075     1075           
Flag Coverage Δ
unittests 64.94% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ae1e033...de0d541. Read the comment docs.

@effigies effigies merged commit f756b71 into nipy:master Nov 6, 2021
@effigies effigies deleted the test/svd_sign_flip branch November 7, 2021 00:55
@effigies effigies added this to the 1.7.1 milestone Apr 3, 2022
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.

Failures in Test suite
1 participant