Add a v_enumerate(x, verbose) function to make enumerate conditionally verbose (using tqdm).
Tell me if you think documentation would be relevant for this function.
Type of change
Check the relevant options.
[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
Provide data, screenshots, command line to test (if relevant)
Checklist
[x] My code follows the style guidelines of this project (run autopep8)
[x] I added relevant citations to scripts, modules and functions docstrings and descriptions
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I moved all functions from the script file (except the argparser and main) to scilpy modules
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
Quick description
Add aTell me if you think documentation would be relevant for this function.v_enumerate(x, verbose)
function to makeenumerate
conditionally verbose (using tqdm).Type of change
Check the relevant options.
Provide data, screenshots, command line to test (if relevant)
Checklist