Skip to content
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

Print status of failed gbasf2 jobs as rich table instead of as json #135

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

meliache
Copy link
Collaborator

In case of failed jobs, the gbasf2 backend of b2luigi currently just prints the dictionary of the job status of the failed jobs to stderr. This can be pretty unreadable. It would be nice to have it as a table. In the past I would have used tabulate, which is nice to create markdown/latex-tables from dictionaries. But I found out that when it comes to terminal output, the /Rich/ package is really super nice.

Haven't tested the code in real gbasf2 submissions yet, only on example dictionaries and haven't written tests for the code yet, which is why I'll give this draft status for now.

@meliache meliache added enhancement New feature or request gbasf2 Concerns the gbasf2/grid b2luigi wrapper labels Oct 11, 2021
@meliache meliache self-assigned this Oct 11, 2021
@meliache meliache added the needs changelog Entry to CHANGELOG.md is missing label Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gbasf2 Concerns the gbasf2/grid b2luigi wrapper needs changelog Entry to CHANGELOG.md is missing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant