Skip to content

Commit 3147827

Browse files
authored
Merge pull request #3567 from JulianFlesch/improve/test-datasets
Add wrapping long lines in list table
2 parents 6748478 + a157b2a commit 3147827

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
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), [#3566](https://github.com/nf-core/tools/pull/3566))
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), [#3567](https://github.com/nf-core/tools/pull/3567))
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/list.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ def list_datasets(
7373
else:
7474
table = rich.table.Table()
7575
if generate_nf_path:
76-
table.add_column("Nextflow Import")
76+
table.add_column("Nextflow Import", overflow="fold")
7777
elif generate_dl_url:
78-
table.add_column("Download URL")
78+
table.add_column("Download URL", overflow="fold")
7979
else:
80-
table.add_column("File")
80+
table.add_column("File", overflow="fold")
8181

8282
for el in out:
8383
table.add_row(el)

0 commit comments

Comments
 (0)