# HG changeset patch # User goeckslab # Date 1730397317 0 # Node ID b84c324b58bd573be74e96f774cd76d2bffcdca6 # Parent 6fe0d4f464f40f3f72002567dc53551b461febf9 planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/squidpy commit ed118f79326f83eff1315f735b4e0e1a45a5e02c diff -r 6fe0d4f464f4 -r b84c324b58bd main_macros.xml --- a/main_macros.xml Thu Jul 11 22:22:53 2024 +0000 +++ b/main_macros.xml Thu Oct 31 17:55:17 2024 +0000 @@ -1,7 +1,7 @@ 1.5.0 20.01 - 1 + 2 diff -r 6fe0d4f464f4 -r b84c324b58bd squidpy_scatter.py --- a/squidpy_scatter.py Thu Jul 11 22:22:53 2024 +0000 +++ b/squidpy_scatter.py Thu Oct 31 17:55:17 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')