Skip to content

Commit

Permalink
Merge pull request #2880 from awgymer/2865-fix-schema-docs-console-pr…
Browse files Browse the repository at this point in the history
…inting

Fix schema docs console output truncating
  • Loading branch information
awgymer authored Mar 19, 2024
2 parents cdd5f43 + 629e85e commit a6c2808
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 @@ -38,6 +38,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 schema docs console output truncating ([#2880](https://github.com/nf-core/tools/pull/2880))
- 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 @@ -494,7 +494,7 @@ def print_documentation(

if not output_fn:
console = rich.console.Console()
console.print("\n", Syntax(prettified_docs, format), "\n")
console.print("\n", Syntax(prettified_docs, format, word_wrap=True), "\n")
else:
if Path(output_fn).exists() and not force:
log.error(f"File '{output_fn}' exists! Please delete first, or use '--force'")
Expand Down

0 comments on commit a6c2808

Please sign in to comment.