You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I keep getting the following error when trying to call @logprogress in a function call to update a progress bar inside @withprogress wrapping my main execution loop, it works fine when the @logprogress is in this main loop level, but fails with the following error when I try to update progress within a function call in the loop:
ERROR: `@logprogress` must be used inside `@withprogress` or with `_id` keyword argument
I am not sure how I can pass this _id kwarg, I tried doing:
progress && ProgressLogging.@logprogress _id=progress_id t / Ntotal
But it doesn't change anything, any help would be appreciated
The text was updated successfully, but these errors were encountered:
Great thank you, so once it is merged, will the usage be to specify a parentid on the @withprogress call, then _id on the @logprogress calls? And the ID should presumably be the result of say: UUIDs.uuid1(Random.GLOBAL_RNG) for example?
Sorry could you clarify on that last part what you mean about using a global ID instead of parentid? Other than that sounds great though thanks for sorting it so quickly
Hi, I keep getting the following error when trying to call
@logprogress
in a function call to update a progress bar inside@withprogress
wrapping my main execution loop, it works fine when the@logprogress
is in this main loop level, but fails with the following error when I try to update progress within a function call in the loop:I am not sure how I can pass this
_id
kwarg, I tried doing:But it doesn't change anything, any help would be appreciated
The text was updated successfully, but these errors were encountered: