Skip to content

Commit

Permalink
refactor: remove __str__ method on MDASequence (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 authored Sep 22, 2023
1 parent 8eca3d3 commit 1f0bff7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/useq/_mda_sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1f0bff7

Please sign in to comment.