Describe the bug
I tried to instantiate the model from one of the HSSM tutorials, with drift rate v as a regression of other variables (x and y). Then I tried to plot the model (model.graph()), but for some reason it shows _vx and _vy as separate values, not as the parents of v. When I print the list of the parameters, it shows the correct formula. When I add the second parameter as a regression (e.g., decision boundary), it shows correct links between parameters for decision boundary, but not for drift rate. If I set only the decision boundary as the regression, then it is shown in a wrong way.
For now it looks like the problem might be in the __findparent() methods since it always sets the first parameter-regression in the _self._listparams, and it is always the drift rate. But I am not sure I understand 100% the meaning of this method and how I could modify it.
Describe the bug I tried to instantiate the model from one of the HSSM tutorials, with drift rate v as a regression of other variables (x and y). Then I tried to plot the model (model.graph()), but for some reason it shows _vx and _vy as separate values, not as the parents of v. When I print the list of the parameters, it shows the correct formula. When I add the second parameter as a regression (e.g., decision boundary), it shows correct links between parameters for decision boundary, but not for drift rate. If I set only the decision boundary as the regression, then it is shown in a wrong way.
For now it looks like the problem might be in the __findparent() methods since it always sets the first parameter-regression in the _self._listparams, and it is always the drift rate. But I am not sure I understand 100% the meaning of this method and how I could modify it.
Versions HSSM==0.2.1, pymc==5.14.0, bambi==0.13.0, Python==3.11.9
To Reproduce
Screenshots
model:![image](https://github.com/lnccbrown/HSSM/assets/26119726/4bc44d53-8367-4ac8-a0e4-cddf958c9068)
model1:![image](https://github.com/lnccbrown/HSSM/assets/26119726/8da5c677-a770-4ff2-9980-90e292657f95)