Added test for empty values on properties in ChemSpider ExtendedCompoundInfo API
This commit is contained in:
parent
73753a6294
commit
ca0a22ae7b
@ -197,7 +197,8 @@ class ChemSpider(Source):
|
||||
'reliability': 'Unknown',
|
||||
'conditions': ''
|
||||
})
|
||||
properties.append(result)
|
||||
if result['value']:
|
||||
properties.append(result)
|
||||
return properties
|
||||
|
||||
def parse_searchrequest(self, response):
|
||||
|
Reference in New Issue
Block a user