emorice / galp

Incremental distributed python runner
MIT License
0 stars 0 forks source link

Fix column number #107

Open emorice opened 2 months ago

emorice commented 2 months ago

When running in jupyter, it seems that the server exports the number of columns as an inheritable env vars and not a shell variable. This, in turn, causes tqdm to pick up that width (simultaneously redirecting output and removing the variable causes fallback on the short width). In between the extra prefixes we add and the fact we may want to log or display in a dashboard, this often ends up being way too large.

Conversely maybe the default is too short when running from a normal terminal.

In either case, consider whether we should export COLUMNS to a reasonable number ourselves.