Skip to content

Commit

Permalink
update void progress bar (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
psauvan authored Jul 1, 2024
1 parent 8f0b2a1 commit a99f9d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/geouned/GEOUNED/void/void.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def void_generation(
# Perform enclosure void
# Loop until the lowest enclosure level

for i, Level in enumerate(tqdm(NestedEnclosure, desc="Void generation")):
for i, Level in enumerate(NestedEnclosure):

logger.info("Build Void highest enclosure")
for j, encl in enumerate(Level):
Expand Down Expand Up @@ -130,7 +130,7 @@ def get_void_def(
nvoid = len(Initial)
logger.info("Loop, Box to Split :{iloop}, {nvoid}")

for iz, z in enumerate(Initial):
for iz, z in enumerate(tqdm(Initial, desc=f"Void Generation Loop: {iloop}")):
nsurfaces, nbrackets = z.get_numbers()
logger.info(f"{iloop} {iz + 1}/{nvoid} {nsurfaces} {nbrackets}")

Expand Down

0 comments on commit a99f9d3

Please sign in to comment.