Skip to content

More consistent code conventions for e.g. indentation #517

Open
@vdauwera

Description

@vdauwera

As noted previously by @mribeirodantas:

          I wonder if we shouldn't stick to nf-core conventions on code indentation, i.e.
process FOO {
    publishDir ...
    some other directive ...

    input:
    val foo
    path bar

    output:
    stdout

    script:
    """

instead of

 process FOO {

    publishDir ...
    some other directive ...

    input:
        val foo
        path bar

    output:
        stdout

    script:
    """

It's not clear to me if the way we're doing it contributes a lot to readability/understanding and if it's worth teaching people differently from how most of the community writes Nextflow pipelines.

Originally posted by @mribeirodantas in #431 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    improveNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions