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
============================================ warnings summary============================================
tests/method_wrappers/test_rotation.py: 16 warnings
/httomo/httomo/utils.py:60: DeprecationWarning: The 'ansi' parameter is deprecated, please use 'colors' instead
logger.opt(ansi=True).info("<yellow>{}</yellow>".format(output))
tests/method_wrappers/test_rotation.py::test_rotation_180
tests/method_wrappers/test_rotation.py::test_rotation_360
/httomo/httomo/method_wrappers/rotation.py:191: RuntimeWarning: Mean of empty slice.
flats1d = 1.0 if flats is None else flats.mean(0, dtype=np.float32)
tests/method_wrappers/test_rotation.py::test_rotation_180
tests/method_wrappers/test_rotation.py::test_rotation_360
/opt/conda/lib/python3.10/site-packages/numpy/core/_methods.py:182: RuntimeWarning: invalid value encountered in divide
ret = um.true_divide(
tests/method_wrappers/test_rotation.py::test_rotation_180
tests/method_wrappers/test_rotation.py::test_rotation_360
/httomo/httomo/method_wrappers/rotation.py:192: RuntimeWarning: Mean of empty slice.
darks1d = 0.0 if darks is None else darks.mean(0, dtype=np.float32)
tests/runner/test_task_runner.py: 16 warnings
/httomo/httomo/utils.py:58: DeprecationWarning: The 'ansi' parameter is deprecated, please use 'colors' instead
logger.opt(ansi=True).info("<green>{}</green>".format(output))
tests/runner/test_task_runner.py: 16 warnings
/httomo/httomo/utils.py:62: DeprecationWarning: The 'ansi' parameter is deprecated, please use 'colors' instead
logger.opt(ansi=True).info("<magenta>{}</magenta>".format(output))
tests/runner/test_task_runner.py::test_does_reslice_when_needed_and_reports_time
/httomo/httomo/utils.py:56: DeprecationWarning: The 'ansi' parameter is deprecated, please use 'colors' instead
logger.opt(ansi=True).info("<cyan>{}</cyan>".format(output))
tests/runner/test_task_runner.py::test_does_reslice_when_needed_and_reports_time
/httomo/httomo/utils.py:64: DeprecationWarning: The 'ansi' parameter is deprecated, please use 'colors' instead
logger.opt(ansi=True).info("<red>{}</red>".format(output))
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
The text was updated successfully, but these errors were encountered:
As-per the advice given when running tests:
The text was updated successfully, but these errors were encountered: