aiidateam / aiida-core

The official repository for the AiiDA code
https://aiida-core.readthedocs.io
Other
431 stars 187 forks source link

🐛 CLI: Set default for `--safe-interval` #6014

Open mbercx opened 1 year ago

mbercx commented 1 year ago

When trying to reconfigure the core.ssh transport of a computer non-interactively using -n, it still asks for the --safe-interval option:

❯ verdi computer configure core.ssh eiger -n --no-use-login-shell
Usage: verdi computer configure core.ssh [OPTIONS] COMPUTER
Try 'verdi computer configure core.ssh --help' for help.

Error: Missing option '--safe-interval'.

This probably means the default is somehow not properly set or reobtained from the previous configuration.

mbercx commented 1 year ago

Also see https://github.com/aiidateam/aiida-core/pull/5845