Skip to content

Commit 3bc5b46

Browse files
committed
Add row wrapping for long lines in search result table
1 parent d8bfccb commit 3bc5b46

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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)