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:
|
||||
r.smirks = rule["reactionSmarts"]
|
||||
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.product_filter_smarts = rule.get("productFilterSmarts", None)
|
||||
|
||||
Reference in New Issue
Block a user