Skip to content

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

@yousefmoazzam

Description

@yousefmoazzam

Currently, the failure of the try block is silent:

httomo/httomo/cli.py

Lines 154 to 155 in ae5610a

except ImportError:
pass # silently pass and run if the CPU pipeline is given

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    loggingminorNice to do but not vital

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions