Skip to content

Comments

Progress reporting + Usage example#1

Open
RubenStaub wants to merge 3 commits intoscan-team:mainfrom
RubenStaub:main
Open

Progress reporting + Usage example#1
RubenStaub wants to merge 3 commits intoscan-team:mainfrom
RubenStaub:main

Conversation

@RubenStaub
Copy link

Added progress reporting capabilities for this convenient script to become even more user-friendly!

Details:
I used the fantastic tqdm library and proper logging (but only on the main parse() function, because I did not want to rewrite too much).
Wherever I modified the code, I took the liberty to update the handling of files using the recommended "with open as" syntax.
I finally added a usage example inspired from your script, hoping that it will help other as much as it helped me.

Feel free to edit and/or select my commits before merging!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant