signac-flow icon indicating copy to clipboard operation
signac-flow copied to clipboard

Check status for specific operations

Open bdice opened this issue 4 years ago • 3 comments

Feature description

I don't think there is a way to check status for only specific operations/groups. I tried to provide the flag -o operation_name, as in python project.py status -o operation_name, but the -o flag controls the output rendering (terminal, markdown, or html).

Proposed solution

I propose adding an operations filter to the status command that would mirror the behavior of run and submit. I would alter the behavior of the CLI flag -o so that -o, --operation would filter operations and the output rendering is controlled by --output-format as in the current behavior.

Additional context

It would be fine with me to include or exclude job labels -- I don't really have a preference on that behavior. It's probably better to include the labels if we're unsure.

We can already show/hide "all" operations (operations that have no active or eligible jobs) with -a, --all-operations or show only incomplete operations with --only-incomplete-operations.

bdice avatar Feb 27 '21 23:02 bdice

I've definitely tried to do this before because it seems so intuitive. I'll work on this later this week.

atravitz avatar Mar 16 '21 16:03 atravitz

@bdice should this be closed by #593?

kidrahahjo avatar Mar 09 '22 14:03 kidrahahjo

I don't think #593 affects this issue.

bdice avatar Mar 09 '22 20:03 bdice