Error in tests.py:
$> python tests.py Under a clean install of ubuntu 18.04 with anaconda 5.1.0 running python 3.6 .WARNING:root:waveform_approximant cannot be converted to delta function prior. WARNING:root:If required the default prior will be used. Writing priors to outdir/prior.txt /home/pauleaster/anaconda3/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88 return f(*args, **kwds) /home/pauleaster/anaconda3/lib/python3.6/importlib/_bootstrap.py:219: ImportWarning: can't resolve package from spec or package, falling back on name and path return f(*args, **kwds) /home/pauleaster/tupak/tupak/sampler.py:110: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec() args = inspect.getargspec(self.external_sampler_function).args WARNING:root:Supplied argument 'verbose' not an argument of '<function sample at 0x7f4371193d08>', removing. E
ERROR: test_recover_luminosity_distance (main.Test)
Traceback (most recent call last): File "tests.py", line 60, in test_recover_luminosity_distance result = tupak.sampler.run_sampler(likelihood, priors, sampler='nestle', verbose=False) File "/home/pauleaster/tupak/tupak/sampler.py", line 392, in run_sampler result = sampler.run_sampler() File "/home/pauleaster/tupak/tupak/sampler.py", line 206, in run_sampler self.verify_kwargs_against_external_sampler_function() File "/home/pauleaster/tupak/tupak/sampler.py", line 111, in verify_kwargs_against_external_sampler_function for user_input in self.kwargs.keys(): RuntimeError: dictionary changed size during iteration
Ran 2 tests in 0.015s
FAILED (errors=1)
Edited by Paul Easter