develop-bayer #1

Open
jebus wants to merge 9 commits from develop-bayer into develop
Showing only changes of commit d8741c5375 - Show all commits
+1 -1
View File
@@ -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)