neurobagel / bagel-cli

Command line tool for Neurobagel data parsing and annotation
https://neurobagel.org/cli/
MIT License
2 stars 5 forks source link

Shorten tracebacks for errors #218

Open alyssadai opened 12 months ago

alyssadai commented 12 months ago

The tracebacks are currently quite long and difficult to parse. We should try and limit the error output to the informative message and what's necessary for the user to identify the issue in their input.

We may want to also consider https://typer.tiangolo.com/tutorial/terminating/#exit-with-an-error where it makes sense for upfront checks.

See also https://github.com/neurobagel/bagel-cli/pull/212#discussion_r1337604637

surchs commented 11 months ago

162 seems related, let's handle those together and not deal with the present issue now

github-actions[bot] commented 8 months ago

We want to keep our issues up to date and active. This issue hasn't seen any activity in the last 75 days. We have applied the _flag:stale label to indicate that this issue should be reviewed again. When you review, please reread the spec and then apply one of these three options: