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

Fixes Add indents to match destination of code blocks #422 #431

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mribeirodantas
Copy link
Member

Signed-off-by: Marcel Ribeiro-Dantas [email protected]

Copy link

netlify bot commented Oct 30, 2024

Deploy Preview for nextflow-training ready!

Name Link
🔨 Latest commit 516f5c3
🔍 Latest deploy log https://app.netlify.com/sites/nextflow-training/deploys/675ae0e269dc12000827fd46
😎 Deploy Preview https://deploy-preview-431--nextflow-training.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mribeirodantas
Copy link
Member Author

mribeirodantas commented Oct 30, 2024

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.

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.

1 participant