LernerLab / GuPPy

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

Storenames GUI with CSVs #23

Closed jrosh closed 2 years ago

jrosh commented 2 years ago

Hi, thanks for taking the time to make this tool for photometry analysis. I'm using a Doric system so all of my files are saved as CSVs in the format specified. I was following along in the Youtube video you made for working with CSVs and I keep getting stuck on the "Storenames GUI" step. I have 12 files in my folder with unique names but when I click on the "Open Storenames GUI" none of my file names show up in the selection box -- instead it repeats "chev1, chev2, chev3, chod1, chod2, chod3" 12 times and now there are an additional 6 files named "chev1, chev2, chev3, chod1, chod2, chod3" in the folder I'm trying to analyze. Any idea why this is happening? image image

venus-sherathiya commented 2 years ago

sorry for late reply !!

open your csv file in any text editor and can you please send me the screenshot of your opened csv file ?

jrosh commented 2 years ago

Please see the attached screenshot. image

venus-sherathiya commented 2 years ago

so you are getting problems with your data or sample data ? I am asking because you sent me a screenshot of sample data

jrosh commented 2 years ago

My mistake, I took a screenshot from the wrong GuPPy folder. Please see attached for an example of my data. image

venus-sherathiya commented 2 years ago

in this case, if you look closely there are four columns there should be exact three columns otherwise it will work differently so get rid of the first column which has just index numbers like 0,1,2,3,4,5,... please let me know if it works or not

jrosh commented 2 years ago

I did not catch that! I exported csvs using pandas and forgot it includes indices by default. I will try again with the indices removed. Thanks for pointing that out. I will let you know later today if that solved my problem.

venus-sherathiya commented 2 years ago

sure !! please let me know

jrosh commented 2 years ago

Hi, I was able to resolve the Storenames GUI problem by removing the indices from my raw csv files. Thank you for your help! I will try and make my way through the rest of the steps. Hopefully I will not encounter any more problems.