Skip to content

Commit

Permalink
fix single core pbar issue
Browse files Browse the repository at this point in the history
  • Loading branch information
robertjwilson committed Sep 12, 2022
1 parent 52f3887 commit ee311db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nctoolkit/runthis.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,8 @@ def run_this(os_command, self, output="one", out_file=None):
ff_command, target, out_file, precision=self._precision
)
target_list.append(target)
pbar.update(1)
if progress_bar:
pbar.update(1)

if cores > 1:

Expand Down

0 comments on commit ee311db

Please sign in to comment.