aiida-core icon indicating copy to clipboard operation
aiida-core copied to clipboard

`verdi process` does not return anything

Open agoscinski opened this issue 1 month ago • 1 comments

Describe the bug / Expected behavior

  • No output in verdi process <SUBCOMMAND> commands for show, report, status, watch
$ verdi process show

There should be some information for the use that the process id is missing. Even more for watch it starts to run which I find strange as no id was specified.

  • Also there is a inconsistency how the user is informed about missing arguments between verdi code <SUBCOMMAND> and verdi process <SUBCOMMAND>. Here compare
$ verdi process kill
Report: no active processes selected.

with

$ verdi code show 
Usage: verdi code show [OPTIONS] CODE
Try 'verdi code show --help' for help.

Error: Missing argument 'CODE'.

I would stick to the style of verdi code show everywhere, seems to me more informative and the same style is also used in verdi computer <SUBCOMMAND>. That means subcommands kill, pause, play

Your environment

  • Operating system: Ubuntu 22.04 LTS
  • Python version: 3.11
$ verdi status
✔ version:     AiiDA v2.5.1
✔ config:      /home/alexgo/code/aiida-core/.aiida
✔ profile:     alexgo
✔ storage:     SqliteDosStorage[/home/alexgo/code/aiida-core/.aiida/repository/sqlite_dos_f275ff0f10174e8e84c13e82dd5ba452]: open,
✔ rabbitmq:    Connected to RabbitMQ v3.8.14 as amqp://guest:[email protected]:5672?heartbeat=600

agoscinski avatar May 15 '24 09:05 agoscinski