chemspider parse_extendedinfo is now PEP-8 compliant
This commit is contained in:
parent
479182d77e
commit
fa22356cb2
@ -156,12 +156,12 @@ class ChemSpider(Parser):
|
|||||||
values = sel.xpath('*').xpath('text()').extract()
|
values = sel.xpath('*').xpath('text()').extract()
|
||||||
for (name, value) in zip(names,values):
|
for (name, value) in zip(names,values):
|
||||||
result = Result({
|
result = Result({
|
||||||
'attribute': name,
|
'attribute': name,
|
||||||
'value': value,
|
'value': value,
|
||||||
'source': 'ChemSpider',
|
'source': 'ChemSpider',
|
||||||
'reliability': 'Unknown',
|
'reliability': 'Unknown',
|
||||||
'conditions': ''
|
'conditions': ''
|
||||||
})
|
})
|
||||||
properties.append(result)
|
properties.append(result)
|
||||||
return properties
|
return properties
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user