joezuntz / cosmosis

Other
22 stars 18 forks source link

Bugfix for list sampler with vector quantities as extra output #76

Closed BStoelzner closed 1 year ago

BStoelzner commented 1 year ago

Hi,

I've encountered a bug in the list sampler when I asked for vector quantities as additional outputs. Basically, the sampler didn't set up the correct number of extra columns in the output file. This pull request fixes this issue by reusing some pieces of code from the output_names function defined in pipeline.py.

Best, Benjamin

joezuntz commented 1 year ago

Thanks Benjamin!