Skip to content

Commit

Permalink
order elision from 10 instead of 30
Browse files Browse the repository at this point in the history
  • Loading branch information
ansaminard committed Dec 5, 2024
1 parent de430d8 commit ee153a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ansys/sound/core/sound_composer/source_harmonics.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ def __str__(self) -> str:

# Spectrum control values.
orders = np.round(orders, 1)
if len(orders) > 30:
str_order_values = f"{str(orders[:15])[:-1]} ... {str(orders[-15:])[1:]}"
if len(orders) > 10:
str_order_values = f"{str(orders[:5])[:-1]} ... {str(orders[-5:])[1:]}"
else:
str_order_values = str(orders)

Expand Down

0 comments on commit ee153a8

Please sign in to comment.