DiamondLightSource / DiamondLightSource/httomo

Debug log message if try/except cupy import fails in `cli.py`

Open
#310 0 comments 0 reactions 0 assignees View on GitHub
logging minor
Dominant language
Python
Stars
10
Forks
5
Avg merge
5d 17h
Merged PRs (30d)
1

Description

Currently, the failure of the try block is silent: https://github.com/DiamondLightSource/httomo/blob/ae5610a83a691436e0e7deff3a71c2af3f89568e/httomo/cli.py#L154-L155

whereas it may be more useful to log this with level `logging.DEBUG`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.