diff --git a/templates/galaxy/config/global_host_filters.py.j2 b/templates/galaxy/config/global_host_filters.py.j2 index 0cc1f609e..871535842 100644 --- a/templates/galaxy/config/global_host_filters.py.j2 +++ b/templates/galaxy/config/global_host_filters.py.j2 @@ -104,6 +104,7 @@ DOMAIN_SECTIONS = { "hca_sc_sc3_tools", "hca_sc_sccaf_tools", "hca_sc_scater_tools", + "hca_sc_seurat_tools", "hicexplorer", "single-cell", "single-cell-section-scdata", @@ -147,12 +148,13 @@ def per_host_tool_sections( context, section ): host = context.trans.request.host subdomain = host.replace('.usegalaxy.eu', '') - # hide HCA tools from other subdomains than humancellatlas, do not confuse users by duplicated tools - if section.id in human_cell_atlas_sections: - if 'humancellatlas' in host: - return True - else: - return False + # hide HCA tools from other subdomains than humancellatlas or singlecell, + # do not confuse users by duplicated tools + if section.id in human_cell_atlas_sections and not {subdomain} & { + "humancellatlas", + "singlecell", + }: + return False # show single cell tools only in that subdomain if section.id.startswith("single-cell-section"):