LernerLab / GuPPy

Guided Photometry Analysis in Python, a free and open-source FP analysis tool.
GNU General Public License v3.0
63 stars 11 forks source link

Error during artifact removal #64

Closed PochapskiJose closed 7 months ago

PochapskiJose commented 8 months ago

Hi, I'm using Guppy with csv. files and I could run individual and group analyses and also visualize them on GUI. However, with my new files I needed to remove some artifacts (as shown on fig 1).

Screenshot 0

I followed all the steps in the tutorial (and also from the video tutorial), but I could never visualize the data on GUI. I tried a lot of different combinations (changing parameters, order of the steps, folders, and different datasets, etc) but none of it worked. I was re-watching the video tutorial an I noted something that was there compared to the information that I was seeing on my terminal windows. As shown in fig 2, when I draw the lines to select the data without the artifact I have the X coordinate showed there, but my Y coordinate is always 0 there (on the tutorial video there was a specific number for the Y coordinate). I'm not sure if this is the problem, but it's something different that I noted.

Screenshot 1

But besides it I could save the coordinates and also generate the updated data without the artifact.

Screenshot 2 Screenshot 3 Screenshot 4

I could also move forward and run the PSTH compilation step and generate the figure (as in the figure bellow).

Screenshot 5

But I noted also an error message there regarding TTLs visualization (but the zscore graph after the PSHT is still generated). Its weird because if I run this file without the artifact removal for individual analyses this error message don't appear on the terminal and I can open the data on GUI.

Screenshot 6

Then when I move to the final step of the analysis to see the data on GUI, there is this other error message:

Screenshot 7

Do you have some idea what could be the problem that is not allowing me to visualize the data on GUI after the artifact removal?

venus-sherathiya commented 7 months ago

Sorry for the late response, I was on a vacation. I am not sure what are you doing wrong. can we please meet on a zoom call ? Please send me your availability at venus.sherathiya@northwestern.edu.

venus-sherathiya commented 7 months ago

Addressed the issue on a zoom call and small changes to the code.