Skip to content

Commit

Permalink
fixes bug when anonymous users could not run tools
Browse files Browse the repository at this point in the history
  • Loading branch information
martindemko committed Apr 11, 2024
1 parent df39cd3 commit 1ee0ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/galaxy/config/tpv_rules_local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected] -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 [email protected] -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
Expand Down

0 comments on commit 1ee0ff7

Please sign in to comment.