-
Notifications
You must be signed in to change notification settings - Fork 325
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
Fix Point Kinematics Reporter Variable Error #3966
base: main
Are you sure you want to change the base?
Conversation
dd268d2
to
f3cd5f0
Compare
Good find @alexbeattie42! Could you add a changelog entry, since this could affect behavior for users who might not have realized that It would be nice to add some unittests for |
I can try to take a look at adding some test cases. I'm not very familiar with the testing framework used in the project (I believe it's catch2) but I'll give it a shot. |
Thanks @alexbeattie42! Catch2 is pretty straight-forward, but let me know if you have any questions. |
f5635ce
to
c31fc25
Compare
@nickbianco can you take another look? |
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.
A couple of nits, but otherwise LGTM. Nice job @alexbeattie42!
Reviewed 4 of 4 files at r1, all commit messages.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @alexbeattie42)
Applications/Analyze/test/testPointKinematics.cpp
line 100 at r1 (raw file):
std::string coordinates_file_name = "subject01_walk1_ik.mot"; OpenSim::Model model(model_name);
Minor: remove all explicit OpenSim namespace usages (here and below) since you have using namespace OpenSim
above. Mostly for consistency in this file.
Suggestion:
Model model(model_name);
Applications/Analyze/test/testPointKinematics.cpp
line 164 at r1 (raw file):
OpenSim::AnalyzeTool roundTrip(output_file_name); roundTrip.run();
nit: remove blank line
Applications/Analyze/test/testPointKinematics.cpp
line 165 at r1 (raw file):
roundTrip.run(); }
nit: Add newline character at EOF
c16fd23
to
d04c1e8
Compare
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.
@nickbianco Thanks! I have resolved the issues.
Reviewable status: 2 of 4 files reviewed, all discussions resolved (waiting on @nickbianco)
d04c1e8
to
9e2970f
Compare
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.
Reviewed 2 of 2 files at r2, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @alexbeattie42)
@nickbianco Is there anything I still need to do to get this merged? |
Brief summary of changes
Fix Point Kinematics Reporter Variable Error
Testing I've completed
Tested locally
Looking for feedback on...
CHANGELOG.md (choose one)
This change is