hddm-devs / hddm

HDDM is a python module that implements Hierarchical Bayesian parameter estimation of Drift Diffusion Models (via PyMC).
http://ski.clps.brown.edu/hddm_docs/
Other
261 stars 117 forks source link

line 1297 in base.py dose not work #99

Closed Tamabala closed 1 year ago

Tamabala commented 1 year ago

Hi,

For the class HDDMbase in base.py, because the variable "include" was initially set as "()", the code "assert include is not None" at line 1297 can not prevent the user from leaving the include argument unassigned.

Because of that, the error presented below will be reported because "include" is always empty. image

If I get it wrong and it is something else that causes the error above, please let me know, I would really appreciate it.

Best Wang