From ca8186d5c0b13896e92b94341a2eaf5f3dd16288 Mon Sep 17 00:00:00 2001 From: Pavankumar Videm Date: Mon, 3 Jun 2024 14:27:45 +0200 Subject: [PATCH 1/2] update anndata resources --- files/galaxy/tpv/tools.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/files/galaxy/tpv/tools.yml b/files/galaxy/tpv/tools.yml index 3cf0c689c..b0692b9db 100644 --- a/files/galaxy/tpv/tools.yml +++ b/files/galaxy/tpv/tools.yml @@ -1383,25 +1383,24 @@ tools: toolshed.g2.bx.psu.edu/repos/iuc/anndata_manipulate/anndata_manipulate/.*: cores: 1 - mem: 4 + mem: 16 rules: - - id: large_anndata_input - if: input_size > 2 - cores: 1 - mem: 20 + - id: anndata_concat + if: job.get_param_values(app).get("manipulate").get("function") == "concatenate" + mem: 60 toolshed.g2.bx.psu.edu/repos/iuc/anndata_import/anndata_import/.*: cores: 1 - mem: 4 + mem: 16 toolshed.g2.bx.psu.edu/repos/iuc/anndata_export/anndata_export/.*: cores: 1 - mem: 4 + mem: 16 toolshed.g2.bx.psu.edu/repos/iuc/anndata_inspect/anndata_inspect/.*: cores: 1 - mem: 4 + mem: 16 toolshed.g2.bx.psu.edu/repos/iuc/modify_loom/modify_loom/.*: cores: 1 - mem: 4 + mem: 16 From 5a07eb6cb501cceb2937d2e68222f62bc3b0a545 Mon Sep 17 00:00:00 2001 From: Pavankumar Videm Date: Mon, 3 Jun 2024 14:43:05 +0200 Subject: [PATCH 2/2] update rule --- files/galaxy/tpv/tools.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/files/galaxy/tpv/tools.yml b/files/galaxy/tpv/tools.yml index b0692b9db..714966abe 100644 --- a/files/galaxy/tpv/tools.yml +++ b/files/galaxy/tpv/tools.yml @@ -1386,7 +1386,9 @@ tools: mem: 16 rules: - id: anndata_concat - if: job.get_param_values(app).get("manipulate").get("function") == "concatenate" + if: | + param_dict = job.get_param_values(app) + param_dict.get('manipulate', {}).get('function') == 'concatenate' mem: 60 toolshed.g2.bx.psu.edu/repos/iuc/anndata_import/anndata_import/.*: