Closed steveehlert closed 8 years ago
I'd need to see the full error log to debug this. Its probably something to do with the scipy functions, as I have never seen this error before.
This is the full output I am seeing. I agree that the scipy functions are a likely culprit but I cannot seem to trace it to them.
Traceback (most recent call last):
File "SimulateMassIndex.py", line 123, in
How about this: return locals()
instead of return locals
.
Yup, that did it. I can't believe I forgot the () on the end of locals. Sorry to have wasted your time.
No problem. Happens to me all the time.
Hi all-
I have run into a very unusual issue with a PyMC run I am trying and I cannot explain why it is failing. Mainly, I want to do some MCMC sampling of a single sample of measurements against a custom scipy stats distribution, and for some reason the MCMC run is completely failing for reasons I cannot ascertain. The relevant code is below, but I don't see why it is giving me the failure of
AttributeError: 'builtin_function_or_method' object has no attribute 'dict'
This seems like a rather serious failure for something that is rather trivial conceptually. Any ideas where this came from and how to fix it? Thanks in advance!
Steven Ehlert