porespy
porespy copied to clipboard
All tqdm instances should include a description.
The tqdm
function accepts the desc
keyword, which will then include a text description of what the progress bar is doing. We should probably fetch the function name where tqdm
is actually running and at least include this, like info = inspect.getouterframes(inspect.currentframe())[1].function
then tqdm(iter, desc=info, ...)
.