juliencarponcy / trialexp

MIT License
2 stars 4 forks source link

Encountered an error when exporting 'reaching_go_spout_bar_all_reward_dec22', 'JC317L-2022-12-16-173145' #26

Closed teristam closed 1 year ago

teristam commented 1 year ago
          Encountered an error when exporting 'reaching_go_spout_bar_all_reward_dec22', 'JC317L-2022-12-16-173145'

pulse_times_A len:90 pulse_times_B len: 16

RsyncError: Two pulse times differ too much. Results may not be correct

line68 in 03 script

Maybe need try to handle the error

It's likely that pycontrol and pyphotometry files are paired wrongly.

Originally posted by @kouichi-c-nakamura in https://github.com/juliencarponcy/trialexp/issues/22#issuecomment-1534433280

teristam commented 1 year ago

One solution is to manually go in and change the file name or delete that photometry file for now, as it is wrongly matched

teristam commented 1 year ago

Should be fixed now with the more stringent way of matching pycontrol and photometry file. Closing for now.