Skip to content

Commit

Permalink
Fix bug in fetching injection group param (gwastro#4924)
Browse files Browse the repository at this point in the history
* Fix bug in fetching injection group param

* try macos latest version (gwastro#4922) (gwastro#4926)

* try macos latest version

* move to update macos on build as well

Co-authored-by: Alex Nitz <alex.nitz@gmail.com>

---------

Co-authored-by: Alex Nitz <alex.nitz@gmail.com>
  • Loading branch information
2 people authored and pannarale committed Nov 7, 2024
1 parent 3af1c32 commit ed3b568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycbc/events/triggers.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def get_inj_param(injfile, param, ifo, args=None):

inj = injfile["injections"]
if param in inj.keys():
return inj["injections/"+param]
return inj[param][:]

if param == "end_time_"+ifo[0].lower():
return inj['end_time'][:] + det.time_delay_from_earth_center(
Expand Down

0 comments on commit ed3b568

Please sign in to comment.