Skip to content

Commit a0148fb

Browse files
committed
deleting isinstance statement from progressbar. It's already done in particleset.py
1 parent 7806563 commit a0148fb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

parcels/_core/particleset.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -571,9 +571,7 @@ def execute(
571571
next_output += outputdt
572572

573573
if verbose_progress:
574-
if isinstance(time, np.datetime64) or isinstance(time, np.timedelta64):
575-
pbar.set_description("Integration time: " + str(time))
576-
574+
pbar.set_description("Integration time: " + str(time))
577575
pbar.update((next_time - time) / np.timedelta64(1, "s"))
578576

579577
time = next_time

0 commit comments

Comments
 (0)