VU-Cog-Sci / nideconv

fit response shapes from signal time-courses
MIT License
12 stars 11 forks source link

response_fitter.py error #36

Open PaulGeha opened 2 months ago

PaulGeha commented 2 months ago

Hello, I am trying to use nideconv. I started first with the example online here : https://nideconv.readthedocs.io/en/latest/ . I keep getting an error message related to rf.plot_model_fit() as below. I created a nideconv environment as can be seen in my home directory but I still cannot resolve the panda's dependency (it seems!). My understanding is that the version of panda needed is in there. e What is the fix for this?

Thanks for any help you can provide

best Paul

Traceback (most recent call last): File "", line 1, in File "/home/urmc-sh.rochester.edu/pgeha/nideconv_env/lib/python3.11/site-packages/nideconv/response_fitter.py", line 499, in plot_model_fit signal = self.get_original_signal(melt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/urmc-sh.rochester.edu/pgeha/nideconv_env/lib/python3.11/site-packages/nideconv/response_fitter.py", line 484, in get_original_signal .melt(var_name='roi', ^^^^^^^^^^^^^^^^^^^^ File "/home/urmc-sh.rochester.edu/pgeha/nideconv_env/lib/python3.11/site-packages/pandas/core/frame.py", line 9942, in melt return melt( ^^^^^ File "/home/urmc-sh.rochester.edu/pgeha/nideconv_env/lib/python3.11/site-packages/pandas/core/reshape/melt.py", line 54, in melt raise ValueError( ValueError: value_name (signal) cannot match an element in the DataFrame columns.