Skip to content

Commit

Permalink
Merge pull request #2878 from awgymer/2876-fix-schema-build-name-infe…
Browse files Browse the repository at this point in the history
…rence
  • Loading branch information
awgymer authored Mar 19, 2024
2 parents 2208791 + e7f5a48 commit dbd8734
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
- Strip out mention of "Nextflow Tower" and replace with "Seqera Platform" wherever possible
- Update pre-commit hook astral-sh/ruff-pre-commit to v0.3.3 ([#2850](https://github.com/nf-core/tools/pull/2850))
- Fix issue with config resolution that was causing nested configs to behave unexpectedly ([#2862](https://github.com/nf-core/tools/pull/2862))
- fix: ensure path object converted to string before stripping quotes ([#2878](https://github.com/nf-core/tools/pull/2878))

## [v2.13.1 - Tin Puppy Patch](https://github.com/nf-core/tools/releases/tag/2.13) - [2024-02-29]

Expand Down
2 changes: 1 addition & 1 deletion nf_core/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ def make_skeleton_schema(self):
)
schema_template = env.get_template("nextflow_schema.json")
template_vars = {
"name": self.pipeline_manifest.get("name", Path(self.schema_filename).parent).strip("'"),
"name": self.pipeline_manifest.get("name", str(Path(self.schema_filename).parent)).strip("'"),
"description": self.pipeline_manifest.get("description", "").strip("'"),
}
self.schema = json.loads(schema_template.render(template_vars))
Expand Down

0 comments on commit dbd8734

Please sign in to comment.