-
Notifications
You must be signed in to change notification settings - Fork 19
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
Removes the ill-fated Trollius support from PlanningMethod. #278
Conversation
Trollius support never actually worked very well (or at all), and with the addition of `prpy.futures` we have a much better interface for doing parallel operations. This removes the `defer` options on all prpy planning methods, and replaced the `Ranked` implementation with one that uses `prpy.futures` and plain threading instead.
if len(dof_indices) and affine_dofs: | ||
raise ValueError( | ||
'Trajectory contains both affine and regular DOFs.') | ||
# Special case for timing affine-only trajectories. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing newline before this comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand, since I just re-indented this code without changing it.
Where do you want a newline? Do you want a blank line before an elif
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks a bit odd to have no newline between the ValueError
and this comment. I suppose it's fine, though, because we do this all the time on elif
s.
This is a fantastic change - our ill-fated attempt at using Trollius introduced a lot of needless complexity into the planning pipeline. I am grateful that you removed it and left some specific comments above. @jeking04 was attempting to use |
I am good with merging this. I couldn't ever quite figure it out and ended On Saturday, March 26, 2016, Michael Koval notifications@github.com wrote:
Jen King |
This manual copying of description is not needed after #282.
Trollius support never actually worked very well (or at all) for our planners, and with the addition of
prpy.futures
we have a much better interface for doing parallel operations.This removes the
defer
options on all prpy planning methods, and replaced theRanked
implementation with one that usesprpy.futures
and plain threading instead.