Closed borisbolliet closed 8 years ago
Hello Boris,
I had the same problem months ago. According to what I understood (but I'm not an expert in these topics), when you run a program on a cluster there are arguments of functions that have to be specified even if you usually don't do it.
In the class MyError(Exception):
of the io_mp.py module, I have substituted the line Exception.__init__(self)
with Exception.__init__(self, message)
. In this way the code didn't complain anymore that one argument was missing.
Hope it helps,
Nicola
Dear Nicola,
Thank you very much, this fixed the problem. It does not seem to be a problem that occurs on a cluster because i am also getting this error message on my laptop.
It is certainly due to the fact that I am using a new likelihood that I made myself, apparently, without doin the error message management proberly.
What is strange though, is that I get this problem only when I use the -m IS option.
Thank you again,
Boris
Dear All,
I would like to use the importance sampling (IS) method with a personal experiment. Everything works fine for the metropolis hasting sampler, however when I am using IS I get the following error message:
If any one is familiar with this issue I would be glad to hear what can be going wrong. Thank you very much,
Boris