Skip to content

Commit

Permalink
make status=pending the default in ParslGraph.get_jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
jchiang87 committed Apr 8, 2021
1 parent b19ec5a commit 799eaf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/desc/gen3_workflow/bps/wms/parsl/parsl_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ def int_cast(value):
data['status'].append(job.status)
self.df = pd.DataFrame(data=data)

def get_jobs(self, task_type, status=None, query=None):
def get_jobs(self, task_type, status='pending', query=None):
"""
Return a list of job names for the specified task applying an
optional query on the status data frame.
Expand Down

0 comments on commit 799eaf9

Please sign in to comment.