def render_pipeline_job pj
pj[:progress_bar] = render partial: 'job_progress', locals: {:j => pj[:job]}
pj[:output_link] = link_to_if_arvados_object pj[:output]
def render_pipeline_job pj
pj[:progress_bar] = render partial: 'job_progress', locals: {:j => pj[:job]}
pj[:output_link] = link_to_if_arvados_object pj[:output]
# return the updated timestamps list.
def merge_range timestamps, started_at, finished_at
# in the comments below, 'i' is the entry in the timestamps array and 'j'
# return the updated timestamps list.
def merge_range timestamps, started_at, finished_at
# in the comments below, 'i' is the entry in the timestamps array and 'j'
# Accept a list of objects with [:started_at] and [:finshed_at] keys and
# merge overlapping ranges to compute the time spent running after periods of
# overlapping execution are factored out.
# Accept a list of objects with [:started_at] and [:finshed_at] keys and
# merge overlapping ranges to compute the time spent running after periods of
# overlapping execution are factored out.