SciLifeLab/scilifelab — pull request #414 by guillermo-carrasco (2014-09-04 10:01:43+00:00)
Title: BigFix: Use tarball id if sending a tarball

If sending a tarball to swestore (not a raw ran to compress & send), it will try to use the ```--flowcell``` argument as run id, but won't find it, use ```--tarball``` instead.

Example command to send a raw run:

```
pm archive swestore --package-run --pbzip2 --check-finished --send-to-swestore --swestore-path a2010002 --flowcell [RUN_ID] --clean-swestore --force --clean-from-staging
```

Example command to send an already tarballed run:

```
pm archive swestore --send-to-swestore --swestore-path a2010002 --tarball [RUN_ID].tar.bz2 --clean-swestore --clean-from-staging
```