DiamondLightSource / httomo

High-throughput tomography pipeline
https://diamondlightsource.github.io/httomo/
BSD 3-Clause "New" or "Revised" License
4 stars 3 forks source link

Change cupy installation prints to debug logs #340

Closed yousefmoazzam closed 1 month ago

yousefmoazzam commented 1 month ago

Fixes #301

Acceptance criteria checklist:

Before change:

(/dls/science/users/twi18192/conda-envs/httomo) [twi18192@cs04r-sc-vserv-300 httomo (log-cupy-install-info)]$ python -m httomo_dls.launcher
CuPy is not installed
Usage: python -m httomo_dls.launcher [OPTIONS] IN_DATA_FILE YAML_CONFIG
                                     OUT_DIR
Try 'python -m httomo_dls.launcher --help' for help.

Error: Missing argument 'IN_DATA_FILE'.

After change:

(/dls/science/users/twi18192/conda-envs/httomo) [twi18192@cs04r-sc-vserv-300 httomo (log-cupy-install-info)]$ python -m httomo_dls.launcher
Usage: python -m httomo_dls.launcher [OPTIONS] IN_DATA_FILE YAML_CONFIG
                                     OUT_DIR
Try 'python -m httomo_dls.launcher --help' for help.

Error: Missing argument 'IN_DATA_FILE'.