Duke-GCB / bespin-cli

Command line client for Bespin
MIT License
0 stars 0 forks source link

Jobs created appear to have 0-byte input files #13

Closed dleehr closed 6 years ago

dleehr commented 6 years ago

I created job 46 in dev, with two files from data service. Viewing the job in the UI suggests the files are zero bytes (see screenshot).

screen shot 2018-10-04 at 3 36 37 pm

I logged into the VM and confirmed the files are downloading, so I expect this to work. Looks like the job created by bespin-cli does not include the input file's size.

dleehr commented 6 years ago

Actually, this is not just cosmetic. It impacts the size of the volume that is calculated in bespin-api's jobfactory:

https://github.com/Duke-GCB/bespin-api/blob/f3a105d82e9bf32a0fcb563c072378aa3b6bd41c/data/jobfactory.py#L35-L44

I created a job in dev with ~8GB of input data. The job has a 3001GB volume, when the calculation should have been around 3160GB (3000GB base, 20*8GB)