Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
younik committed Nov 7, 2024
1 parent 701b617 commit f99618f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions minari/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def _show_dataset_table(datasets: Dict[str, Dict[str, Any]], table_title: str):
for dataset_id in datasets.keys():
namespace, dataset_name, version = parse_dataset_id(dataset_id)
dataset_hierarchy[namespace][dataset_name].append(version)
display_versions = display_versions or len(dataset_hierarchy[namespace][dataset_name]) > 1
display_versions |= len(dataset_hierarchy[namespace][dataset_name]) > 1

# Build the Rich Table
table = Table(title=table_title)
Expand Down Expand Up @@ -94,7 +94,7 @@ def _show_dataset_table(datasets: Dict[str, Dict[str, Any]], table_title: str):
rows.append(dataset_size)
rows.append(author)
table.add_row(*rows)

table.add_section()
print(table)

Expand Down

0 comments on commit f99618f

Please sign in to comment.