projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e557e8
)
getitem should only return the key
author
Diane Trout
<diane@caltech.edu>
Fri, 27 Mar 2015 17:58:35 +0000
(10:58 -0700)
committer
Diane Trout
<diane@caltech.edu>
Fri, 27 Mar 2015 18:13:11 +0000
(11:13 -0700)
htsworkflow/submission/fastqname.py
patch
|
blob
|
history
diff --git
a/htsworkflow/submission/fastqname.py
b/htsworkflow/submission/fastqname.py
index 0ef67da8f0f9c2a1833903bf44101493f0250ec1..7f74f2215c87b87de54ad4db2ad23b0b7cda34b6 100644
(file)
--- a/
htsworkflow/submission/fastqname.py
+++ b/
htsworkflow/submission/fastqname.py
@@
-83,7
+83,7
@@
class FastqName(collections.Mapping):
return iter(self._attributes)
def __getitem__(self, key):
- return getattr(self, key
, None
)
+ return getattr(self, key)
def __setitem__(self, key, value):
if key in self._attributes: