From 1f0bff78e6d6938aab7c9b7b409e507ebc5b6a5b Mon Sep 17 00:00:00 2001 From: Talley Lambert Date: Fri, 22 Sep 2023 07:27:30 -0400 Subject: [PATCH] refactor: remove __str__ method on MDASequence (#136) --- src/useq/_mda_sequence.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/useq/_mda_sequence.py b/src/useq/_mda_sequence.py index 84496b31..4ea51a86 100644 --- a/src/useq/_mda_sequence.py +++ b/src/useq/_mda_sequence.py @@ -328,10 +328,6 @@ def _check_order( if p.sequence is not None and p.sequence.autofocus_plan: raise ValueError(err) - def __str__(self) -> str: - sizes = ", ".join(f"n{k}={v}" for k, v in self.sizes.items() if v) - return f"Multi-Dimensional Acquisition with: {sizes}" - @property def shape(self) -> Tuple[int, ...]: """Return the shape of this sequence.