Skip to content

Commit

Permalink
Format strings
Browse files Browse the repository at this point in the history
  • Loading branch information
ewels committed May 5, 2022
1 parent 11c22c0 commit 07a6a5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nf_core/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ def remove_schema_empty_definitions(self):

# Remove "allOf" group with empty definitions from the schema
for d_key in empty_definitions:
allOf = {"$ref": "#/definitions/{}".format(d_key)}
allOf = {"$ref": f"#/definitions/{d_key}"}
if allOf in self.schema.get("allOf", []):
self.schema["allOf"].remove(allOf)

Expand Down

0 comments on commit 07a6a5f

Please sign in to comment.