You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ENH: Catch warning when loaded text file contains no data in test
Catch warning when loaded text file contains no data in test.
Fixes:
```
nireports/tests/test_reportlets.py::test_plot_melodic_components
/home/runner/work/nireports/nireports/nireports/reportlets/xca.py:128:
UserWarning: loadtxt: input contained no data:
"/tmp/pytest-of-runner/pytest-0/popen-gw0/test_plot_melodic_components0/noise_none.csv"
noise_components = np.loadtxt(noise_components_file, dtype=int, delimiter=",", ndmin=1)
```
raised for example in:
https://github.com/nipreps/nireports/actions/runs/12681153218/job/35344304375#step:12:347
0 commit comments