Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug in data2smoothed #9

Open
astraw opened this issue Sep 7, 2011 · 0 comments
Open

bug in data2smoothed #9

astraw opened this issue Sep 7, 2011 · 0 comments
Labels

Comments

@astraw
Copy link
Member

astraw commented Sep 7, 2011

Hi Andrew,

This isn't a real show-stopper, but I figured you'd like to know:

If one of the 4 cameras is missing when running Data2smoothed with
--time-data, this is the error:

cheers,
paolo

flydra_analysis_data2smoothed
3-12/90_0/DATA20100312_140356.3D_orientation.h5
--min-ori-quality-required=0 --time-data=3-12/DATA20100312_140356.h5
--dest-file=3-12/90_0/DATA20100312_140356.mat

traceback (most recent call last):
File "/usr/bin/flydra_analysis_data2smoothed", line 9, in
load_entry_point('flydra==0.4.69', 'console_scripts','flydra_analysis_data2smoothed')()
File "/usr/lib/pymodules/python2.6/flydra/a2/data2smoothed.py", line 250, in main
*_kwargs)
File "/usr/lib/pymodules/python2.6/flydra/a2/data2smoothed.py", line 125, in convert
mainbrain_timestamp = remote_timestamp_gain[remote_hostname] + offset[remote_hostname] # find mainbrain timestamp
KeyError: 'cam3'
Closing remaining open files:
3-12/90_0/DATA20100312_140356.3D_orientation.h5... done
3-12/DATA20100312_140356.h5... done

flightlab@desktop1:~/Desktop/repeatability2$ flydra_analysis_data2smoothed
3-12/90_0/DATA20100312_140356.3D_orientation.h5
--min-ori-quality-required=0 --time-data=3-12/DATA20100312_140356.h5
--dest-file=3-12/90_0/DATA20100312_140356.mat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant