Skip to content
Snippets Groups Projects
Commit f4bc787d authored by Gregory Ashton's avatar Gregory Ashton
Browse files

First working version of the end-to-end pipe

parent 4e07e0fb
No related branches found
No related tags found
No related merge requests found
......@@ -267,10 +267,15 @@ class Dag(object):
log = job_logs_path
output = job_logs_path
submit = self.inputs.outdir
name = self.inputs.label + '_postprocessing'
name = self.inputs.label + '_combined'
extra_lines = 'accounting_group={}'.format(self.inputs.accounting)
arguments = ('-r {}/*h5 -f {}/combined.png'
.format(self.inputs.outdir, self.inputs.outdir))
expected_h5_files = ['{}/{}_result.h5'.format(self.inputs.outdir,
job.name)
for job in self.jobs]
labels = ' '.join(''.join(job['detectors']) for job in self.jobs_inputs)
arguments = ('-r {} -f {}/{}_corner.png -l {}'
.format(' '.join(expected_h5_files), self.inputs.outdir,
name, labels))
executable = '/home/gregory.ashton/anaconda3/bin/bilby_plot'
post_job = pycondor.Job(
name=name, executable=executable, extra_lines=extra_lines,
......
......@@ -13,7 +13,7 @@ header = ('''
section_template = (''''
<div class="container">
<h2> {title} </h2>
<button type="button" class="btn btn-info" data-toggle="collapse" data-target="#{title}">Simple collapsible</button>
<button type="button" class="btn btn-info" data-toggle="collapse" data-target="#{title}">corner plot </button>
<div id="{title}" class="collapse">
<img src="{corner_file_path}" alt="No image available" style="width:700px;">
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment