bilby.core.utils.env.string_to_boolean

bilby.core.utils.env.string_to_boolean(value)[source]

Convert a string to a boolean.

Supports True/False (case-insensitive), and 1/0.