ShawHahnLab / umbra

Python package and executable for Linux for managing Illumina sequencing runs
GNU Affero General Public License v3.0
3 stars 0 forks source link

BoxUploader should check file size first #18

Closed ressy closed 5 years ago

ressy commented 5 years ago

If too large a file is given to BoxUploader.upload it will still try to upload it but will eventually fail when the file size limit is reached. The file size should be checked beforehand so we don't bother trying for a file that would fail and can give a more informative error.

The maximum should be available via the API via the max_upload_size attribute of the current user information.