Skip to content

Commit

Permalink
filter illegal data, replace it with legal data
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenzhang committed May 29, 2020
1 parent caaef2b commit 294da83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions job.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ def __init__(self, path):
self.max_executable_number = j.executable_number

# filter those illegal data whose runtime < 0
if j.run_time < 0:
j.run_time = 10
if j.run_time > 0:
self.all_jobs.append(j)

Expand Down

0 comments on commit 294da83

Please sign in to comment.