From d9fc52dc589408fb74ec289c45df76a06c8c86cd Mon Sep 17 00:00:00 2001 From: Ipuch Date: Sat, 7 Dec 2024 09:29:36 -0500 Subject: [PATCH] refactor: oneline --- pyorerun/multi_phase_rerun.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyorerun/multi_phase_rerun.py b/pyorerun/multi_phase_rerun.py index 04b7449..4a2acae 100644 --- a/pyorerun/multi_phase_rerun.py +++ b/pyorerun/multi_phase_rerun.py @@ -25,8 +25,7 @@ def add_phase(self, t_span: np.ndarray, phase: int = 0, window: str = "animation if self.nb_phase - phase == 0: self.rerun_biorbd_phases.append(dict()) - rerun_biorbd = PhaseRerun(t_span, phase, window) - self.rerun_biorbd_phases[phase][window] = rerun_biorbd + self.rerun_biorbd_phases[phase][window] = PhaseRerun(t_span, phase, window) def add_animated_model( self,