From bedd17056c9adccc8b3d985c1eadc0996f619252 Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Mon, 15 Jan 2024 10:43:57 +0000 Subject: [PATCH] Use logging to show default aliases message instead of print() --- extra_data/reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra_data/reader.py b/extra_data/reader.py index 0e19d310..16b861a6 100644 --- a/extra_data/reader.py +++ b/extra_data/reader.py @@ -1962,6 +1962,6 @@ def open_run( if aliases is not None: dc = dc.with_aliases(aliases) - print(f"Loading {len(dc._aliases)} aliases from: {aliases}", flush=True, file=sys.stderr) + log.info("Loading %d aliases from: %s", len(dc._aliases), aliases) return dc