From 5385c96a0195550fd61f1e9ba4836ee16289fc00 Mon Sep 17 00:00:00 2001 From: Cameron Hyde Date: Tue, 27 Aug 2024 11:12:02 +1000 Subject: [PATCH] Add diann group TPV rule --- .../production/total_perspective_vortex/tools.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/files/galaxy/dynamic_job_rules/production/total_perspective_vortex/tools.yml b/files/galaxy/dynamic_job_rules/production/total_perspective_vortex/tools.yml index 82d0fa2d4..345a14433 100644 --- a/files/galaxy/dynamic_job_rules/production/total_perspective_vortex/tools.yml +++ b/files/galaxy/dynamic_job_rules/production/total_perspective_vortex/tools.yml @@ -1075,6 +1075,11 @@ tools: toolshed.g2.bx.psu.edu/repos/galaxyp/diann/diann/.*: params: docker_enabled: true + rules: + - if: | + not user or not 'diann' in [role.name for role in user.all_roles() if not role.deleted] + fail: Your account has not been given access to Dia-NN. Contact help@genome.edu.au + if you think this is in error. toolshed.g2.bx.psu.edu/repos/galaxyp/eggnog_mapper.*: params: singularity_enabled: true