pypsa-eur icon indicating copy to clipboard operation
pypsa-eur copied to clipboard

Replace tqdm with tqdm-loggable to get progress indication in non-interactive logs

Open coroa opened this issue 9 months ago • 0 comments

Describe the feature you'd like to see

tqdm-loggable is a drop-in wrapper for tqdm which detects running non-interactively and then pushes progress updates at low frequency through the log handler instead of printing on stdout.

Could be used to reduce the discrepancy between what is spewed out on stdout during a snakemake run and what you find in the log files afterwards.

coroa avatar Mar 06 '25 10:03 coroa