Archived
1
0

properties from Predicted - ACD/Labs tab now include conditions from value variable

This commit is contained in:
RTB 2014-04-18 15:03:06 +02:00
parent 3bf8dccf18
commit f2cacb79eb

View File

@ -47,6 +47,11 @@ class ChemSpider(Parser):
prop_name = m.group(1)
prop_conditions = m.group(2)
m = re.match(r'(.*) at (.*)', prop_value)
if m:
prop_value = m.group(1)
prop_conditions = m.group(2)
new_prop = Result({
'attribute': prop_name,
'value': prop_value,