From 0a3997bbbafad8d3917efd12782720e4bbd283f4 Mon Sep 17 00:00:00 2001 From: Ipuch Date: Thu, 28 Mar 2024 11:31:37 -0400 Subject: [PATCH] fix(error message of tracked marker was not working) --- pyorerun/phase_rerun.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyorerun/phase_rerun.py b/pyorerun/phase_rerun.py index ea7d165..eac5edb 100644 --- a/pyorerun/phase_rerun.py +++ b/pyorerun/phase_rerun.py @@ -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)