# HG changeset patch # User goeckslab # Date 1730397309 0 # Node ID 2a5036c298890533ae88b629cfce7855bbe73151 # Parent 5b17a47d1adeeff364ffb77817b12f1735606ad0 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/squidpy commit ed118f79326f83eff1315f735b4e0e1a45a5e02c diff -r 5b17a47d1ade -r 2a5036c29889 main_macros.xml --- a/main_macros.xml Thu Jul 11 22:22:41 2024 +0000 +++ b/main_macros.xml Thu Oct 31 17:55:09 2024 +0000 @@ -1,7 +1,7 @@ 1.5.0 20.01 - 1 + 2 diff -r 5b17a47d1ade -r 2a5036c29889 squidpy_scatter.py --- a/squidpy_scatter.py Thu Jul 11 22:22:41 2024 +0000 +++ b/squidpy_scatter.py Thu Oct 31 17:55:09 2024 +0000 @@ -22,10 +22,16 @@ params = json.load(param_handler) # collapse param dict hierarchy, parse inputs + main_params = ['anndata', 'x_coord', 'y_coord', 'color'] plot_opts = params.pop('plot_opts') legend_opts = params.pop('legend_opts') aes_opts = params.pop('aesthetic_opts') - options = {**params, **plot_opts, **legend_opts, **aes_opts} + options = { + **{k: params[k] for k in main_params}, + **plot_opts, + **legend_opts, + **aes_opts + } # read input anndata file adata_fh = options.pop('anndata')