added comments for chemspider parse_extendedinfo
This commit is contained in:
parent
2ac6d1711d
commit
3c5dbc44dc
@ -170,6 +170,7 @@ somewhere.
|
||||
return synonym
|
||||
|
||||
def parse_extendedinfo(self, response):
|
||||
"""Scrape data from the ChemSpider GetExtendedCompoundInfo API"""
|
||||
sel = Selector(response)
|
||||
properties = []
|
||||
names = sel.xpath('*').xpath('name()').extract()
|
||||
@ -177,7 +178,7 @@ somewhere.
|
||||
for (name, value) in zip(names,values):
|
||||
result = Result({
|
||||
'attribute': name,
|
||||
'value': value,
|
||||
'value': value, #These values have no unit!
|
||||
'source': 'ChemSpider ExtendedCompoundInfo',
|
||||
'reliability': 'Unknown',
|
||||
'conditions': ''
|
||||
|
Reference in New Issue
Block a user