Update fastqname code & test code to better support having optional compression exten...
authorDiane Trout <diane@ghic.org>
Tue, 10 Jun 2014 22:11:25 +0000 (15:11 -0700)
committerDiane Trout <diane@ghic.org>
Tue, 10 Jun 2014 23:34:31 +0000 (16:34 -0700)
commit1f296ab3a9c3e7de3270704f789d9e123b0cb69e
treece91bf28b84661d9fa70d68502580292532acee1
parent4db6d9f86b96b7b289dc9e6a15b1379418c865ea
Update fastqname code & test code to better support having optional compression extension.

Its a bit weird as thats the first property which is optional, so
it needed some special case logic.

Also I accept either None or '' for the case of no compression extension as
condorfastq passes in compression_extension=''
htsworkflow/submission/fastqname.py
htsworkflow/submission/test/test_fastqname.py