Be more careful looking up keys when the fastqname is uninitialized.
authorDiane Trout <diane@ghic.org>
Mon, 6 Apr 2015 20:50:36 +0000 (13:50 -0700)
committerDiane Trout <diane@ghic.org>
Mon, 6 Apr 2015 20:50:36 +0000 (13:50 -0700)
commitaf160817eda13fb25df0d653b3ad747ac89c2599
tree540b4443d83ec8d72b78d3ee92a9959412359b10
parent3222fe41f0dc990d94f09ee57dbccfefc81f9d96
Be more careful looking up keys when the fastqname is uninitialized.

By removing the default return of None from getitem, the is_valid test
failed when the object was uninitialized.
htsworkflow/submission/fastqname.py