I have a function that takes a couple of hours to run. It operates over a for loop and I have a progress meter from ProgressMeter.jl assigned to it. In the for loop I call another function, that takes about 10 minutes to run. I have a progress meter for that function as well, enabled via a keyword. I was hoping to have the scenario where the inner function’s progress meter is also displayed, and when the function terminates then the progress meter is cleaned and restarts, without affecting the higher level slower progress meter. Unfortunately I have not been able to achieve anything like that so far. If I enable both meters, then the innermost meter will stop the writing capabilities of the outer meter, and will also create 10 duplicates of its own meter instead of only one. (I understand this is the intended behavior)
Is what I want to achieve possible? Any examples in the wild where this has been achieved?
I’ve seen a related topic: Displaying Parallel Progress Bars but that’s not quite my usecase, I don’t have parallel progress bars but nested.
p.s.: I wasn’t sure where to post this, in general usage or tooling! Admins feel free to move post to appropriate category!