Skip to content

CookBook #21

@dneise

Description

@dneise

I did something horribly inefficient to learn about the current status of our last submission...

Then I came up with this ... wanted to share it:

database.close(); database.connect()  # obligatory to stay connected ... :-(
x = XML.get(XML.name == 'single_pe_extraction_pass_1')
states = ProcessingState.select()
for s in states:
    print(s, Job.select().where(Job.xml == x).where(Job.status == s).count())

failed 77
inserted 100670
queued 199
running 101
success 1868
walltime_exceeded 717

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions