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

scratchDir is overwritten by TMPDIR env variable #171

Closed
pauca opened this issue Jun 6, 2016 · 2 comments
Closed

scratchDir is overwritten by TMPDIR env variable #171

pauca opened this issue Jun 6, 2016 · 2 comments
Labels
Milestone

Comments

@pauca
Copy link

pauca commented Jun 6, 2016

if TMPDIR is set, scratchDir gets overwriten by TMPDIR

to reproduce

c1 = Channel.from( 1)
process A {
    scratch '/home/myuser'
    executor 'sge'
    input:
    val c1   
    output:
    file "out_scratch_dir.txt" into aout
    script:
    """
    touch out_scratch_dir.txt
    echo \"PWD `pwd` \" >> out_scratch_dir.txt
    """
}
@pditommaso
Copy link
Member

I've uploaded a snapshot fixing this problem. You can use it defining the following variable in your env NXF_VER=0.20.0-SNAPSHOT

@pditommaso pditommaso changed the title scratchDir overwriten by TMPDIR scratchDir is overwritten by TMPDIR env variable Jun 6, 2016
@pditommaso pditommaso added the bug label Jun 6, 2016
@pauca
Copy link
Author

pauca commented Jun 6, 2016

Great!
Thanks

2016-06-06 14:51 GMT+02:00 Paolo Di Tommaso notifications@github.com:

I've uploaded a snapshot fixing this problem. You can use it defining the
following variable in your env NXF_VER=0.20.0-SNAPSHOT


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#171 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AC0xXBCk0UOYerkKJP6sfa9xBO9de7v1ks5qJBfPgaJpZM4IuyPf
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants