Skip to content

Commit

Permalink
MPAP0: small refactor in jobs dependencies for consistency with other…
Browse files Browse the repository at this point in the history
… metrics
  • Loading branch information
leavauchier committed Nov 29, 2023
1 parent d6117d9 commit fd57042
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions coclico/mpap0/mpap0.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ def create_metric_relative_to_ref_jobs(

job = Job(job_name, command, tags=["docker"])

[job.add_dependency(c1_job) for c1_job in c1_jobs]
[job.add_dependency(ref_job) for ref_job in ref_jobs]
job = Job(job_name, command, tags=["docker"])
for c1_job in c1_jobs:
job.add_dependency(c1_job)
for ref_job in ref_jobs:
job.add_dependency(ref_job)

return [job]

0 comments on commit fd57042

Please sign in to comment.