Skip to content

Commit

Permalink
Merge pull request #12 from Ipuch/inverse_kinematics
Browse files Browse the repository at this point in the history
fix(error message of tracked marker was not working)
  • Loading branch information
Ipuch authored Mar 28, 2024
2 parents a4d8fa2 + 0a3997b commit 833bae9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyorerun/phase_rerun.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ def __add_tracked_markers(self, biomod: BiorbdModel, tracked_markers: PyoMarkers
if shape_of_markers_is_not_consistent or names_are_ordered_differently:
raise ValueError(
f"The markers of the model and the tracked markers are inconsistent. "
f"They must have the same names and shape."
f"Current markers are {biomod.marker_names} and tracked markers: {tracked_markers.channels}."
f"They must have the same names and shape.\n"
f"Current markers are {biomod.marker_names} and\n tracked markers: {tracked_markers.channel.data.tolist()}."
)

self.add_xp_markers(f"{biomod.name}_tracked_markers", tracked_markers)
Expand Down

0 comments on commit 833bae9

Please sign in to comment.