bilby_pipe_gracedb ini file points to wrong distance marginalization lookup table for xphm
Looking at the recent online-PE runs that use the XPHM ROQ, it looks like distance-marginalization-lookup-table=/home/emfollow/.local/lib/python3.9/site-packages/bilby_pipe/data_files/4s_distance_marginalization_lookup.npz
regardless of what the duration is for the analysis. I think this is because this function that sets the lookup-table to point to gets the duration from _get_default_duration
, whereas choose_xphm_roq hard codes the analysis duration in a way that does not necessarily agree with the default duration function.
I think an easy fix would be to have _get_distance_lookup
to take duration
as an input.