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
Iterations
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
Container Registry
Model registry
Operate
Environments
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
lscsoft
bilby_pipe
Commits
6e733890
Commit
6e733890
authored
3 years ago
by
Gregory Ashton
Browse files
Options
Downloads
Plain Diff
Merge branch 'simone.mozzon/bilby_pipe-fix_create_inj'
parents
94264446
845a0aaa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!412
Fix "geocent_time" key
Pipeline
#255544
passed
3 years ago
Stage: test
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bilby_pipe/create_injections.py
+1
-1
1 addition, 1 deletion
bilby_pipe/create_injections.py
tests/create_injection_test.py
+1
-1
1 addition, 1 deletion
tests/create_injection_test.py
with
2 additions
and
2 deletions
bilby_pipe/create_injections.py
+
1
−
1
View file @
6e733890
...
...
@@ -213,7 +213,7 @@ class InjectionCreator(Input):
uncertainty
=
self
.
deltaT
/
2.0
,
)
geocent_times
.
append
(
geocent_time
)
inj_df
[
"
geocent
er
_time
s
"
]
=
geocent_times
inj_df
[
"
geocent_time
"
]
=
geocent_times
return
inj_df
@staticmethod
...
...
This diff is collapsed.
Click to expand it.
tests/create_injection_test.py
+
1
−
1
View file @
6e733890
...
...
@@ -130,7 +130,7 @@ class TestCreateInjections(unittest.TestCase):
len
(
df
.
columns
.
values
)
>
1
,
f
"
Column names:
{
df
.
columns
.
values
}
"
)
self
.
assertAlmostEqual
(
df
[
"
geocent
er
_time
s
"
].
iloc
[
0
]
/
100
,
gps_vals
[
0
]
/
100
,
places
=
1
df
[
"
geocent_time
"
].
iloc
[
0
]
/
100
,
gps_vals
[
0
]
/
100
,
places
=
1
)
def
test_create_injection_file_json
(
self
):
...
...
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