forked from enviPath/enviPy
wip
This commit is contained in:
+1
-1
@@ -831,7 +831,7 @@ class PackageManager(object):
|
|||||||
elif rule.get("reactionSmarts") is not None:
|
elif rule.get("reactionSmarts") is not None:
|
||||||
r.smirks = rule["reactionSmarts"]
|
r.smirks = rule["reactionSmarts"]
|
||||||
else:
|
else:
|
||||||
raise ValueError("No SMIRKS or reactionSmarts found for rule {}".format(rule["id"]))
|
raise ValueError(f"No SMIRKS or reactionSmarts found for rule {rule['id']}")
|
||||||
|
|
||||||
r.reactant_filter_smarts = rule.get("reactantFilterSmarts", None)
|
r.reactant_filter_smarts = rule.get("reactantFilterSmarts", None)
|
||||||
r.product_filter_smarts = rule.get("productFilterSmarts", None)
|
r.product_filter_smarts = rule.get("productFilterSmarts", None)
|
||||||
|
|||||||
Reference in New Issue
Block a user