New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Info command #141
Comments
@kaspermunch A specification/set of requirements for this would be nice so that we can make sure that the implementation fulfils your needs. |
It would be nice to be able to have complete freedom in what to print (not only space/comma separated fields). Like "This {jobid} depends on {inputs} and produces {outputs}". |
Target inputs and outputs are not really status information. I think stuff like that would fit better under a different subcommand such as "gwf info". |
But it would be very convenient to be able to query status and info at the same time. I often find myself looking for the output files of the targets that failed. |
Maybe that could be solved through chaining, if we could make something like this possible:
I'm just concerned that the status subcommand becomes a huge beast because people want it to print everything imaginable. |
So, I've implemented the first part of this. Please, please, please test it! :)
It took some time since I had to iron out a bunch of confusing bugs and misunderstandings in the way status is reported. The changes benefited all of gwf, so I think it was worth it. I've tested with a small workflow (not unit tests yet) using the local and slurm backends, and status seems to be accurately reported now. Next step is to implement a |
@kaspermunch suggested that the
|
That output is simple YAML, and I like that. There are lots of libraries for parsing it if people want to write tools they can pipe the info into, and it is very readable for humans as well. |
I (very) intentionally wrote it as YAML ;) |
"conda install -c gwforg gwf” giver mig b10 beta versionen, ikke 1.0. Er der noget jeg gør galt?
Cheers,
Kasper
On 14 Aug 2017, 15.01 +0200, Dan Søndergaard <notifications@github.com>, wrote:
Closed #141<#141> via 6dbdbb0<6dbdbb0>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#141 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ABHPBLCiVwwWl76JRXZMpud3BCHeOUlUks5sYEUkgaJpZM4MBmCc>.
|
Nope, see #181. |
A lot of flexibility could be gained by allowing some common filtering operations (should run, completed, failed, submitted, running) and allowing the user to provide a format string to print various information in a space/comma-separated format.
The text was updated successfully, but these errors were encountered: