Skip to content

Commit

Permalink
Clean up channel progress bar
Browse files Browse the repository at this point in the history
  • Loading branch information
multimeric committed Aug 8, 2024
1 parent ca6e1d7 commit f04f30e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lls_core/models/lattice_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def iter_slices(self) -> Iterable[ProcessedSlice[ArrayLike]]:
from tqdm import tqdm

for time_idx, time in tqdm(enumerate(self.time_range), desc="Timepoints", total=len(self.time_range)):
for ch_idx, ch in tqdm(enumerate(self.channel_range), desc="Channels", total=len(self.channel_range)):
for ch_idx, ch in tqdm(enumerate(self.channel_range), desc="Channels", total=len(self.channel_range), leave=False):
yield ProcessedSlice(
data=self.slice_data(time=time, channel=ch),
time_index=time_idx,
Expand Down

0 comments on commit f04f30e

Please sign in to comment.