Skip to content

Commit 1cfc3e1

Browse files
nilodnaVeckoTheGecko
authored andcommitted
deleting isinstance statement from progressbar. It's already done in particleset.py
1 parent 77fd66f commit 1cfc3e1

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
@@ -567,9 +567,7 @@ def execute(
567567
next_output += outputdt
568568

569569
if verbose_progress:
570-
if isinstance(time, np.datetime64) or isinstance(time, np.timedelta64):
571-
pbar.set_description("Integration time: " + str(time))
572-
570+
pbar.set_description("Integration time: " + str(time))
573571
pbar.update((next_time - time) / np.timedelta64(1, "s"))
574572

575573
time = next_time

0 commit comments

Comments
 (0)