From 2a8f012c31a311d5e4fcb0abd8069e0f19c5be8b Mon Sep 17 00:00:00 2001 From: Eirik Rolland Enger Date: Fri, 4 Nov 2022 15:00:42 -0600 Subject: [PATCH] fix(ncdump): don't print info in section heading (#270) fix(ncdump): don't print info in section heading Bumps project from 0.3.0 to 0.3.1. --- pyproject.toml | 2 +- src/ncdump_rich/ncdump.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 95ffd05..9ff8ac0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ncdump-rich" -version = "0.3.0" +version = "0.3.1" description = "Rich NcDump" authors = ["Eirik Enger "] license = "GPL-3.0" diff --git a/src/ncdump_rich/ncdump.py b/src/ncdump_rich/ncdump.py index 4b75d28..c99d865 100644 --- a/src/ncdump_rich/ncdump.py +++ b/src/ncdump_rich/ncdump.py @@ -71,7 +71,7 @@ def print_ncattr(key: str) -> None: cprint(s1 + s2) # Print file properties - cprint(f"[bold white]NetCDF Properties:[/bold white] {nc_file.file_format}") + cprint("[bold white]NetCDF Properties:[/bold white]") for key, prop in { "File format": "file_format", "Disk format": "disk_format",