Skip to content

Commit

Permalink
fix number of letters
Browse files Browse the repository at this point in the history
  • Loading branch information
HelgeGehring committed Feb 14, 2024
1 parent cd84b6e commit eb04899
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions meshwell/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,14 +235,14 @@ def mesh(
if progress_bars:
if physical_name:
enumerator.set_description(
f"{physical_name:<30} - {'instanciate':<10}"
f"{physical_name:<30} - {'instanciate':<15}"
)
# First create the shape
dimtags_out = entity_obj.instanciate()

if progress_bars:
if physical_name:
enumerator.set_description(f"{physical_name:<30} - {'dimtags':<10}")
enumerator.set_description(f"{physical_name:<30} - {'dimtags':<15}")
# Parse dimension
dim = validate_dimtags(dimtags_out)
max_dim = max(dim, max_dim)
Expand All @@ -251,7 +251,7 @@ def mesh(
if progress_bars:
if physical_name:
enumerator.set_description(
f"{physical_name:<30} - {'entities':<10}"
f"{physical_name:<30} - {'entities':<15}"
)
# Assemble with other shapes
current_entities = LabeledEntities(
Expand All @@ -264,7 +264,7 @@ def mesh(
)
if progress_bars:
if physical_name:
enumerator.set_description(f"{physical_name:<30} - {'boolean':<10}")
enumerator.set_description(f"{physical_name:<30} - {'boolean':<15}")
if index != 0:
cut = self.occ.cut(
current_entities.dimtags,
Expand All @@ -280,13 +280,13 @@ def mesh(
if progress_bars:
if physical_name:
enumerator.set_description(
f"{physical_name:<30} - {'duplicates':<10}"
f"{physical_name:<30} - {'duplicates':<15}"
)
self.occ.removeAllDuplicates()
if progress_bars:
if physical_name:
enumerator.set_description(
f"{physical_name:<30} - {'sync':<10}"
f"{physical_name:<30} - {'sync':<15}"
)
self.sync_model()
current_entities.dimtags = list(set(cut[0]))
Expand Down

0 comments on commit eb04899

Please sign in to comment.