Skip to content

Params outdir should *not* end with a trailing slash #27

@pditommaso

Description

@pditommaso

if not outdir.endswith("/"):
outdir += "/"

The outdir parameter should not end with a training slashed because this value is expected to be used as a prefix for other directory paths using the pattern ${params.outdir}/foo/bar and therefore, the trailing slash with result in double slashes

See for example

https://github.com/nf-core/rnaseq/blob/b89fac32650aacc86fcda9ee77e00612a1d77066/conf/modules.config#L54

https://github.com/nf-core/rnaseq/blob/b89fac32650aacc86fcda9ee77e00612a1d77066/conf/modules.config#L63

https://github.com/nf-core/rnaseq/blob/b89fac32650aacc86fcda9ee77e00612a1d77066/conf/modules.config#L71

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions