Closed HippocampusGirl closed 3 years ago
I'm going to break master by merging this, but that should be easily solvable if we do this -> https://github.com/nipreps/sdcflows/commit/fef4ac623910b08d1f95d47d397d1c19dad0e45c
Thanks much for this contribution!!
When downloading files, the progress display shows file sizes on the order of kilobytes, even though the requested file should be multiple megabytes in size. When I first encountered this, I thought the files may be corrupt, but this is not the case.
Steps to reproduce this
Looking at the code, I discovered that the progress bar module
tqdm
is configured to display one download block as one byte, even though one download block can be up to 1024 bytes in size.With the proposed fix, the correct file size is displayed