injection number fix
When using the following in an ini:
################################################################################
## Injection arguments
################################################################################
injection=True
injection-file=out_single_injection/injections.json
injection-numbers = [0]
the following error arises:
bilby_pipe/input.py", line 426, in injection_numbers
"Invalid injection numbers {}".format(injection_numbers)
bilby_pipe.utils.BilbyPipeError: Invalid injection numbers ['0']
The injection-numbers = [0]
is being parsed as ['0']
. This MR fixes this issue, and adds some tests for injection-numbers
Edited by Avi Vajpeyi