ROOT Version: 6.30.04 Platform: Various Compiler: Various
Dear ROOT community,
I have been enjoying a lot the new feature from the latest ROOT version, ROOT::RDF::Experimental::AddProgressBar. Thanks a lot for adding it! As it is also still experimental, I understand there may be some unexpected behaviour, so I wanted to ask here whether I was missing a configuration or this was indeed unexpected.
For some output, I format the stream to be left- or right-aligned, usually filling the “empty” area with whitespaces (default). However, when I use the progress bar, it seems the default format is changed and not reset after the event loop has been fully processed, leading to the previously empty area being filled with zeros. This is what the output would more or less look like:
For now, I simply fix the issue resetting the formatting myself (following the solution provided on Stack Overflow here), but I was wondering, is there a ROOT-native way to control this? Thanks a lot in advance.
Nice to hear you’ve been using the ProgressBar. As you said - the feature is still experimental and we are very happy to hear our users feedback, thanks! This functionality hasn’t been considered yet but I will take a look into making a fix upstream.
Thanks for reporting! Could I ask you to also to give us a small code reproducer of what you are trying to do, so we can kickstart the debugging faster?