Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify and fix trinity scratch dir handling #5492

Merged
merged 3 commits into from
Sep 20, 2023

Conversation

mvdbeek
Copy link
Member

@mvdbeek mvdbeek commented Sep 20, 2023

This is currently failing on usegalaxy.org with

cp: -r not specified; omitting directory 'trinity_out_dir/Trinity.tmp.fasta.salmon.idx'

we now use the same logic throughout tool regardless of whether an admin has set TRINITY_SCRATCH_DIR.
We should never introduce these tool specific variables, this should've just used $TMPDIR and then the admin / tpv can set this to special values if needed.
The upside is that this now gets tested.

FOR CONTRIBUTOR:

  • - I have read the CONTRIBUTING.md document and this tool is appropriate for the tools-iuc repo.
  • - License permits unrestricted use (educational + commercial)
  • - This PR adds a new tool or tool collection
  • - This PR updates an existing tool or tool collection
  • - This PR does something else (explain below)

@natefoo
Copy link
Member

natefoo commented Sep 20, 2023

We should never introduce these tool specific variables, this should've just used $TMPDIR and then the admin / tpv can set this to special values if needed.

Agreed, but this was much more tedious before TPV since it meant another destination or some custom implementation in a dynamic rule.

@mvdbeek mvdbeek merged commit ec26c47 into galaxyproject:main Sep 20, 2023
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants