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

Output DSL not creating parent directory. #5465

Open
Joon-Klaps opened this issue Nov 4, 2024 · 0 comments
Open

Output DSL not creating parent directory. #5465

Joon-Klaps opened this issue Nov 4, 2024 · 0 comments

Comments

@Joon-Klaps
Copy link

Bug report

Expected behavior and actual behavior

Using output dsl as specified in docs for creating a samplesheet of a channel. Throws an ERROR ~ No such file or directory, when I would expect it to just create the file with it's correct parent dirs.

Steps to reproduce the problem

#!/usr/bin/env nextflow

nextflow.preview.output = true
workflow {
    main:
    ch_fastq = Channel.of(
        [ [id: 1, name: 'sample 1'], '1a.fastq', '1b.fastq' ],
        [ [id: 2, name: 'sample 2'], '2a.fastq', '2b.fastq' ],
        [ [id: 3, name: 'sample 3'], '3a.fastq', '3b.fastq' ]
    )

    publish:
    ch_fastq >> 'fastq'

}

output {
    'fastq' {
        index {
            path 'index.csv'
        }
    }
}
 NXF_VER=24.10.0 nextflow run . -output-dir testing

dummy - repo

Program output


 N E X T F L O W   ~  version 24.10.0

Launching `./main.nf` [ecstatic_shirley] DSL2 - revision: f3a7b194c5

WARN: WORKFLOW OUTPUT DSL IS A PREVIEW FEATURE - SYNTAX AND FUNCTIONALITY CAN CHANGE IN FUTURE RELEASES
ERROR ~ No such file or directory: /workspace/Nextflow_sandbox/testing/fastq/index.csv

 -- Check '.nextflow.log' file for details

nextflow.log

Environment

  • Nextflow version: 24.10.0
  • Java version: 17.0.11-internal 2024-04-16
  • Operating system: Linux
  • Bash version: 5.1.16(1)-release
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