projects
/
htsworkflow.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Don't throw an error if library.cell_line is None.
[htsworkflow.git]
/
htsworkflow
/
util
/
conversion.py
1
"""
2
Miscellaneous, more refined type casting functions
3
"""
4
5
def unicode_or_none(value):
6
"""
7
Convert value to unicode if its not none.
8
"""
9
if value is None:
10
return None
11
else:
12
return unicode(value)