ReinV / SCOPE

Search and Chemical Ontology Plotting Environment
Other
1 stars 2 forks source link

Progress bars? #30

Closed magnuspalmblad closed 2 years ago

magnuspalmblad commented 3 years ago

Perhaps it would be a good idea to display a progress bar while downloading large files and executing the scripts, e.g. using the https://github.com/tqdm/tqdm library? Not top priority, but something worth revisiting.

ReinV commented 2 years ago

The problem is that timestamps are not preserved using tqdm (and other methods that I tried). Script "update_chebis.py" checks if files need to be updated based on timestamps. I tried to insert correct file timestamp after downloading, but this was not allowed on my system. So either we find a different way of checking if files need to be updated, or we decide to not add the progress bar.

ReinV commented 2 years ago

Progress bar is now implemented in download_files.py and will soon be released.