From cb0c2813aa4444a041a24040bd06479c13d9ab43 Mon Sep 17 00:00:00 2001 From: jlaehne Date: Mon, 29 Jan 2024 09:01:14 +0100 Subject: [PATCH] allow hiding extension signals --- hyperspy/utils/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyperspy/utils/__init__.py b/hyperspy/utils/__init__.py index dab7176274..3229b21b1b 100644 --- a/hyperspy/utils/__init__.py +++ b/hyperspy/utils/__init__.py @@ -65,7 +65,7 @@ def print_known_signal_types(): table.field_names = ["signal_type", "aliases", "class name", "package"] for sclass, sdict in ALL_EXTENSIONS["signals"].items(): # skip lazy signals and non-data-type specific signals - if sdict["lazy"] or not sdict["signal_type"]: + if sdict["lazy"] or sdict.get("hidden", False) or not sdict["signal_type"]: continue aliases = ( ", ".join(sdict["signal_type_aliases"])