Hi,
I have been running the example_gait_analysis script in colab for months now and it was working fine as of yesterday, but suddenly today I got an error at the line gait_r = gait_analysis. I tried running the code with the public example data and I got the same error. It does not matter what trim values I use. The only way I can get it to work is to change filter_frequency to 0. I have pasted the error text below. Thank you for any insight into why this is suddenly happening!
RuntimeError: std::exception in 'size_t OpenSim::TimeSeriesTable_< double >::getNearestRowIndexForTime(double const,bool const) const': Time 0.000000 is out of time range [0.016654, 6.099963]
Thrown at TimeSeriesTable.h:319 in getNearestRowIndexForTime().
example_gait_analysis error
- Matt Petrucci
- Posts: 250
- Joined: Fri Feb 24, 2012 11:49 am
Re: example_gait_analysis error
Hi Eliana,
Not sure why it would suddenly stop working...there aren't any commits that would affect these codes.
Are you importing the opencap-processing repo into your colab? Have you tried running the code with the example data in a local python environment (using the setup instructions in the readme)?
Matt
Not sure why it would suddenly stop working...there aren't any commits that would affect these codes.
Are you importing the opencap-processing repo into your colab? Have you tried running the code with the example data in a local python environment (using the setup instructions in the readme)?
Matt