Skip to content

Commit

Permalink
allow hiding extension signals
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaehne committed Jan 29, 2024
1 parent b104055 commit cb0c281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hyperspy/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand Down

0 comments on commit cb0c281

Please sign in to comment.