Skip to content
Snippets Groups Projects

Allow emcee to work with pre-release versions

Merged Matthew David Pitkin requested to merge matthew-pitkin/bilby:emcee_fix into master
@@ -83,7 +83,7 @@ class Emcee(MCMCSampler):
logger.warning("The 'mh_proposal' option is no longer used "
"in emcee v{}, and will be ignored.".format(emcee.__version__))
del function_kwargs['mh_proposal']
for key in updatekeys:
if updatekeys[key] not in function_kwargs:
function_kwargs[updatekeys[key]] = function_kwargs.pop(key)
Loading