Mercurial > repos > goeckslab > squidpy_scatter
diff squidpy_scatter.py @ 1:b84c324b58bd draft default tip
planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/squidpy commit ed118f79326f83eff1315f735b4e0e1a45a5e02c
author | goeckslab |
---|---|
date | Thu, 31 Oct 2024 17:55:17 +0000 |
parents | 6fe0d4f464f4 |
children |
line wrap: on
line diff
--- 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')