In section 2.2 of Hello Nextflow > Part 6: Hello Config, I receive errors when trying to run the workflow after having changed the output paths. With the syntax (as shown in the tutorial):
first_output {
path { "${params.batch}/intermediates/${sayHello.name}" }
mode 'copy'
}
I receive the following error:
Error hello-config.nf:44:49: `sayHello` is not defined
│ 44 | path { "${params.batch}/intermediates/${sayHello.name}" }
╰ | ^^^^^^^^
I receive similar errors for all five processes. The same occurs when I just define the path as path { sayHello.name }.
I am running this on my own computer (v26.10.5). When I load up hello-config.nf in the GItHub Codespace, although hovering over the offending text still shows an is not defined error, I am able to run the code as intended… I’ve run diff on my file and the one found in solutions/, and found no difference, so any pointers on what I might be doing wrong would be appreciated.