portugueslab / stytra

A modular package to control stimulation and track behaviour
http://www.portugueslab.com/stytra/
GNU General Public License v3.0
41 stars 26 forks source link

Bug fix for saving "video_times" file #61

Closed birtezuidinga closed 2 years ago

birtezuidinga commented 2 years ago

In the stytra/hardware/video/write.py file, line 83, the command should be pd.DataFrame(self.times, columns=["t"]), to save the dataframe of video_times correctly. The current version does not have square brackets and therefore the program does not save the file. I do not really know how to submit a pull request, but I hope this works too.

vigji commented 2 years ago

Hi @birtezuidinga ! Thanks a lot for reporting this and #60 (and sorry for the late reply). We will be soon addressing some of those bugs and make a new release, we will for sure also implements those suggestions!