fixed another case of missing value when unit present
@@ -343,7 +343,10 @@ class SBDBClass(BaseQuery):
# try to combine value with units provided
try:
+ if q['value'] is not None:
eldict[q['name']] = (q['value'] * unit)
+ else:
+ eldict[q['name']] = q['value']
if q['sigma'] is not None:
eldict[q['name']+'_sig'] = (q['sigma'] *
unit)
