Skip to content

Commit

Permalink
Disable trinity_psc as it will fill up $HOME on Stampede2
Browse files Browse the repository at this point in the history
  • Loading branch information
natefoo committed Apr 14, 2020
1 parent b0baee3 commit da244da
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion env/common/files/galaxy/dynamic_rules/stampede_select.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ def dynamic_stampede_select(app, tool, job, user_email):
# extract short tool id from tool shed id
tool_id = tool.id.split('/')[-2]

if tool_id == 'trinity_psc':
raise JobMappingException('This version of Trinity can not be run at this time. Please use the latest version.')

if user_email is None:
raise JobMappingException('Please log in to use this tool.')

Expand All @@ -52,7 +55,7 @@ def dynamic_stampede_select(app, tool, job, user_email):

if param_dict.get('__job_resource', {}).get('__job_resource__select') != 'yes':
# override default destination for tools that will always need more memory
if tool_id in ('trinity_psc', 'trinity'):
if tool_id == 'trinity':
destination_id = DEFAULT_LARGEMEM_DESTINATION
log.debug("Job resource parameters not seleted, using default destination: %s", destination_id)
else:
Expand Down

0 comments on commit da244da

Please sign in to comment.