emcee pre-release version does not run
Using the emcee pre-release version
and running
emcee_result = bilby.run_sampler(
likelihood=likelihood, priors=priors, sampler='emcee' )
raised the error:
home/c1572221/src/bilby/bilby/core/sampler/emcee.pyc in run_sampler(self)
194 for sample in tqdm(sampler.sample(**self.sampler_function_kwargs),
195 total=self.nsteps):
--> 196 points = np.hstack([sample[0], np.array(sample[3])])
197 # import IPython; IPython.embed()
198 with open(out_file, "a") as ff:
TypeError: 'State' object does not support indexing