properties from Predicted - ACD/Labs tab now include conditions from value variable
This commit is contained in:
parent
3bf8dccf18
commit
f2cacb79eb
@ -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,
|
||||
|
Reference in New Issue
Block a user