Parietal-INRIA / fmralign

Functional alignment and template estimation library for functional Magnetic Resonance Imaging data
https://parietal-inria.github.io/fmralign/
BSD 3-Clause "New" or "Revised" License
23 stars 7 forks source link

[TEST] Fix sporadic test failure #98

Open emdupre opened 1 month ago

emdupre commented 1 month ago

We occasionally have the 3.10 check fail on PRs with this error :

FAILED fmralign/tests/test_template_alignment.py::test_template_closer_to_target - assert 0.8712401553815377 >= 0.8879695020299416

We should re-visit this test to make it more robust.

emdupre commented 1 month ago

See for example #97 ; it was entirely unrelated to the main code base but still triggered the failure. On re-run, though, all checks passed.