Basic example fails using conda install
I'm trying to install parallel_bilby
and run the GW150914 example, but I'm getting a failure. I'm using conda to install following the documentation. I created a Python 3.7 conda env, installed bilby_pipe and schwimmbad from conda-forge, then parallel_bilby. I've also tried pip for various parts of the process, including pip installing from a local checkout of the git repo. The machine is running CentOS 7.
The error is
Traceback (most recent call last):
File "/home/lundgren/miniconda3/envs/bilby2/bin/parallel_bilby_generation", line 8, in <module>
sys.exit(main())
File "/home/lundgren/miniconda3/envs/bilby2/lib/python3.7/site-packages/parallel_bilby/generation.py", line 158, in main
write_complete_config_file(parser=generation_parser, args=args, inputs=inputs)
File "/home/lundgren/miniconda3/envs/bilby2/lib/python3.7/site-packages/parallel_bilby/generation.py", line 61, in write_complete_config_file
inputs.sampler_kwargs = "{}"
File "/home/lundgren/miniconda3/envs/bilby2/lib/python3.7/site-packages/bilby_pipe/input.py", line 1344, in sampler_kwargs
if self.sampler == "dynesty":
File "/home/lundgren/miniconda3/envs/bilby2/lib/python3.7/site-packages/bilby_pipe/input.py", line 1323, in sampler
return self._sampler
AttributeError: 'ParallelBilbyDataGenerationInput' object has no attribute '_sampler'
The output above that is
"bilby_version": "1.1.5: (CLEAN) 88cf7e2 2022-01-24 22:26:41 +0000",
"bilby_pipe_version": "1.0.5: (CLEAN) e9a68f9 2022-02-01 14:40:55 +0000",
"config_file": "GW150914.ini",
"data_dump_file": "outdir/data/GW150914_data_dump.pickle",
"parallel_bilby_version": "1.0.1: (('CLEAN',)) 9d848ae 2021-12-01 01:35:33 +0000",
"dynesty_version": "1.0.1",
"lalsimulation_version": "3.1.2"
if it helps.