Skip to content

Commit 6748478

Browse files
authored
Merge pull request #3566 from JulianFlesch/improve/test-datasets
Add row wrapping for long lines in search result table
2 parents d8bfccb + 798b248 commit 6748478

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
- Changing retrieval of file extension from EDAM ([#3512](https://github.com/nf-core/tools/pull/3512))
6464
- Refactor adding EDAM ontologies and allowing detect more patterns (e.g., versions.yml) ([#3519](https://github.com/nf-core/tools/pull/3519))
6565
- Add offline configs test action ([#3524](https://github.com/nf-core/tools/pull/3524))
66-
- Adds `test-datasets` subcommand for listing/searching files in the nf-core/test-datasets repo from the cli ([#3487](https://github.com/nf-core/tools/issues/3487), [#3548](https://github.com/nf-core/tools/pull/3548))
66+
- Adds `test-datasets` subcommand for listing/searching files in the nf-core/test-datasets repo from the cli ([#3487](https://github.com/nf-core/tools/issues/3487), [#3548](https://github.com/nf-core/tools/pull/3548), [#3566](https://github.com/nf-core/tools/pull/3566))
6767
- Update pre-commit hook astral-sh/ruff-pre-commit to v0.11.2 ([#3521](https://github.com/nf-core/tools/pull/3521))
6868
- Fix indentation in included_configs API docs ([#3523](https://github.com/nf-core/tools/pull/3523))
6969
- chore(deps): update python:3.12-slim docker digest to a866731 ([#3527](https://github.com/nf-core/tools/pull/3527))

nf_core/test_datasets/search.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ def search_datasets(
6767
stdout.print(create_download_url(branch, selection))
6868
else:
6969
table = rich.table.Table(show_header=False)
70+
table.add_column("")
71+
table.add_column("", overflow="fold")
7072
table.add_row("File Name:", selection)
7173
table.add_row("Nextflow Import:", create_pretty_nf_path(selection, branch == MODULES_BRANCH_NAME))
7274
table.add_row("Download Link:", create_download_url(branch, selection))

0 commit comments

Comments
 (0)