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
7fe13271
Commit
7fe13271
authored
6 years ago
by
Gregory Ashton
Browse files
Options
Downloads
Patches
Plain Diff
Fix minor bugs from merge
parent
99288391
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
bilby_pipe/main.py
+1
-1
1 addition, 1 deletion
bilby_pipe/main.py
bilby_pipe/script_helper.py
+0
-2
0 additions, 2 deletions
bilby_pipe/script_helper.py
tests/dag_test.py
+1
-1
1 addition, 1 deletion
tests/dag_test.py
with
2 additions
and
4 deletions
bilby_pipe/main.py
+
1
−
1
View file @
7fe13271
...
...
@@ -118,7 +118,7 @@ class Input(object):
try
:
cert_path
=
os
.
environ
[
cert_alias
]
new_cert_path
=
os
.
path
.
join
(
self
.
outdir
,
os
.
path
.
basename
(
cert_path
))
self
.
outdir
,
'
.
'
+
os
.
path
.
basename
(
cert_path
))
shutil
.
copyfile
(
cert_path
,
new_cert_path
)
self
.
_x509userproxy
=
new_cert_path
except
KeyError
:
...
...
This diff is collapsed.
Click to expand it.
bilby_pipe/script_helper.py
+
0
−
2
View file @
7fe13271
...
...
@@ -60,8 +60,6 @@ def create_default_parser():
parser
.
add
(
'
--time-marginalization
'
,
action
=
'
store_true
'
,
default
=
True
,
help
=
'
If true, use a time-marginalized likelihood
'
)
parser
.
add
(
'
--outdir
'
,
default
=
'
outdir
'
,
help
=
'
Output directory
'
)
parser
.
add
(
'
--label
'
,
default
=
'
outdir
'
,
help
=
'
Output label
'
)
parser
.
add
(
'
--sampler
'
,
default
=
None
)
parser
.
add
(
'
--sampler-kwargs
'
,
default
=
None
)
parser
.
add
(
'
--outdir
'
,
default
=
'
outdir
'
,
help
=
'
Output directory
'
)
...
...
This diff is collapsed.
Click to expand it.
tests/dag_test.py
+
1
−
1
View file @
7fe13271
...
...
@@ -36,7 +36,7 @@ class TestDag(unittest.TestCase):
expected_jobs
=
[
dict
(
detectors
=
[
'
H1
'
,
'
L1
'
],
sampler
=
'
nestle
'
),
dict
(
detectors
=
[
'
H1
'
],
sampler
=
'
nestle
'
),
dict
(
detectors
=
[
'
L1
'
],
sampler
=
'
nestle
'
)]
self
.
assertEqual
(
dag
.
jobs
,
expected_jobs
)
self
.
assertEqual
(
dag
.
jobs
_inputs
,
expected_jobs
)
# def test_build_submit(self):
# test_args = copy.copy(self.test_args)
...
...
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