From 1ee0ff7cd534ad0895e28953b6a3583a03628cb8 Mon Sep 17 00:00:00 2001 From: martindemko <325073@mail.muni.cz> Date: Fri, 12 Apr 2024 01:51:28 +0200 Subject: [PATCH] fixes bug when anonymous users could not run tools --- files/galaxy/config/tpv_rules_local.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/galaxy/config/tpv_rules_local.yml b/files/galaxy/config/tpv_rules_local.yml index 3e9660f..c571070 100644 --- a/files/galaxy/config/tpv_rules_local.yml +++ b/files/galaxy/config/tpv_rules_local.yml @@ -119,7 +119,7 @@ destinations: rewrite_parameters: true transport: curl outputs_to_working_directory: false - submit_native_specification: "-l select=1:ncpus={cores}:mem={mem}gb:scratch_local={scratch}gb -l walltime={walltime}:00:00 -q galaxyeu@elixir-pbs.elixir-czech.cz -N pulsar_cz_j{job.id}__{tool.id if '/' not in tool.id else tool.id.split('/')[-2]+'_v'+tool.id.split('/')[-1]}__{user.username}" + submit_native_specification: "-l select=1:ncpus={cores}:mem={mem}gb:scratch_local={scratch}gb -l walltime={walltime}:00:00 -q galaxyeu@elixir-pbs.elixir-czech.cz -N pulsar_cz_j{job.id}__{tool.id if '/' not in tool.id else tool.id.split('/')[-2]+'_v'+tool.id.split('/')[-1]}__{user.username if user and hasattr(user, 'username') else 'anonymous'}" env: LC_ALL: C TMPDIR: $SCRATCHDIR