Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bilby_pipe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Isaac Legred
bilby_pipe
Commits
f4bc787d
Commit
f4bc787d
authored
6 years ago
by
Gregory Ashton
Browse files
Options
Downloads
Patches
Plain Diff
First working version of the end-to-end pipe
parent
4e07e0fb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bilby_pipe/main.py
+8
-3
8 additions, 3 deletions
bilby_pipe/main.py
bilby_pipe/summary.py
+1
-1
1 addition, 1 deletion
bilby_pipe/summary.py
with
9 additions
and
4 deletions
bilby_pipe/main.py
+
8
−
3
View file @
f4bc787d
...
...
@@ -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
,
...
...
This diff is collapsed.
Click to expand it.
bilby_pipe/summary.py
+
1
−
1
View file @
f4bc787d
...
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment