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

Cannot extract timestamps from .csv inputs #43

Closed isabella-ca closed 1 year ago

isabella-ca commented 1 year ago

Hello,

I am running into a problem with Step 4: Extract timestamps and its correction. I am using .csv files to read in data, and Steps 1-3 work fine, I can see on the command prompt that they are all being executed correctly. However, when I read step 4, when I click the button, GuPPy throws this error:

Extracting signal data and event timestamps... Remove Artifacts : False Combine Data : False Isosbestic Control Channel : True Correcting timestamps by getting rid of the first 1 seconds and convert timestamps to seconds... tornado.application - ERROR - Exception in callback functools.partial(<bound method IOLoop._discard_future_result of <tornado.platform.asyncio.AsyncIOMainLoop object at 0x00000190742FB5B0>>, <Task finished name='Task-982' coro=<_needs_document_lock.<locals>._needs_document_lock_wrapper() done, defined at C:\Users\Isabella\.conda\envs\guppy\lib\site-packages\bokeh\server\session.py:51> exception=Exception('Error in naming convention of files or Error in storesList file')>) Traceback (most recent call last):

Then it goes on to list all my inputted TTL and signal/control files, and then repeats:

Exception: Error in naming convention of files or Error in storesList file

I have double-checked each of my files, the formatting is as specified in the video: image for signal/isos and image for TTL files.

The storesList file also looks fine, with the two rows as specified in the "Storenames GUI" tab.

Not sure what I'm doing wrong, any help would be appreciated! Thank you so much! -IC

isabella-ca commented 1 year ago

Figured it out! The storenames were control_XYZ and signal_ABC--changing them to control_XYZ and signal_XYZ solved the problem!