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

Update qsub scripts to use an optional OUTDIR #6

Open
arkal opened this issue Jun 9, 2020 · 0 comments
Open

Update qsub scripts to use an optional OUTDIR #6

arkal opened this issue Jun 9, 2020 · 0 comments

Comments

@arkal
Copy link
Contributor

arkal commented Jun 9, 2020

Something like

INDIR = dirname(input_file)

if output_is_file
    if OUTDIR
        place output in OUTDIR
    else
        place output in INDIR
elif output_is_directory
    if OUTDIR
        if OUTDIR exists
            move output to OUTDIR/SAMPLE_TOOLNAME_results
        else
            move output to OUTDIR
    else
        move output to INDIR/SAMPLE_TOOLNAME_results
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

No branches or pull requests

1 participant