You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe the only other change I adding the red text below to line 240 in gaitanalysis/gait.py:
[angles, velocities, moments, forces] = \
octave.leg2d(time, marker_array, normalized_force_array,
options, nout=4)
In addition interp1q has been deprecated from Octave, and they now say use interp1 instead. Currently the nosetests come up with: Oct2PyError: Octave evaluation error: error: 'interp1q' undefined near line 94 column 24
Now I’m getting the error:
/usr/local/lib/python2.7/site-packages/gaitanalysis/gait.pyc in inverse_dynamics_2d(self, left_leg_markers, right_leg_markers, left_leg_forces, right_leg_forces, body_mass, low_pass_cutoff)
240 angles, velocities, moments, forces =
241 octave.leg2d(time, marker_array, normalized_force_array,
--> 242 options)
243
244 dynamics = angles, velocities, moments, forces
ValueError: too many values to unpack
It seems leg2d.m only returns its first argument for some reason, the angles.
The text was updated successfully, but these errors were encountered: