Skip to content

Bilby git#e55e4024 does not work with Parallel Bilby

@francisco.hernandez pointed out that the new version of bilby(git#e55e4024) does not work with pbilby (breaks during analysis).

Logs:

The ROQs are correctly generated, but then I get this error during the analysis:
Traceback (most recent call last):
  File "/home/fhernand/my_env/lib/python3.7/site-packages/parallel_bilby/schwimmbad_fast.py", line 96, in __init__
    self.wait()
  File "/home/fhernand/my_env/lib/python3.7/site-packages/parallel_bilby/schwimmbad_fast.py", line 198, in wait
    result = func(arg)
  File "/home/fhernand/my_env/lib/python3.7/site-packages/parallel_bilby/utils.py", line 67, in get_initial_point_from_prior
    theta = prior_transform_function(unit)
  File "/home/fhernand/my_env/lib/python3.7/site-packages/parallel_bilby/analysis.py", line 363, in prior_transform_function
    return priors.rescale(sampling_keys, u_array)
  File "/home/fhernand/my_env/lib/python3.7/site-packages/bilby/core/prior/dict.py", line 702, in rescale
    return [result[key] for key in keys]
  File "/home/fhernand/my_env/lib/python3.7/site-packages/bilby/core/prior/dict.py", line 702, in <listcomp>
    return [result[key] for key in keys]
KeyError: 'chirp_mass'