Skip to content

Commit

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

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

* try macos latest version

* move to update macos on build as well

Co-authored-by: Alex Nitz <[email protected]>

---------

Co-authored-by: Alex Nitz <[email protected]>
  • Loading branch information
tdent and ahnitz authored Nov 4, 2024
1 parent f160641 commit f48afea
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 f48afea

Please sign in to comment.