You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I direct a channel that contains Files inside a map structure to a publish target, the files are not published.
Expected behavior and actual behavior
Expected: Per the documentation here , if I publish a channel with elements like this, I had expected the files listed in the files element to be published:
$ nextflow run output_file_manifest_explore_manifest_format.nf
N E X T F L O W ~ version 24.10.5
Launching `output_file_manifest_explore_manifest_format.nf` [jolly_easley] DSL2 - revision: 64451e7155
WARN: WORKFLOW OUTPUT DSL IS A PREVIEW FEATURE - SYNTAX AND FUNCTIONALITY CAN CHANGE IN FUTURE RELEASES
executor > local (1)
executor > local (1)
[03/16dad8] process > create_one_file_process [100%] 1 of 1 ✔
[resource_uri:https://foo.com/resource-api/bar/sX8G8W/glom/5sQ1BZ, files:[/home/xxx/repos/technical-documentation-pages/docs/Technical-Proposals/nextflow-publish-manifest/work/03/16dad87b8f89f823f5e1cedd9f939b/my_file.txt]]
The workflow succeeds, but the file is not published:
$ ls results
ls: cannot access 'results': No such file or directory
If I change my output channel structure to be a simple List, then the files are published as expected (not shown here). So I'm presuming the issue is that my file list is inside a map?
Environment
Nextflow version: 24.10.5
Java version: 21.0.6
Operating system: Linux
Bash version: 5.0.17(1)-release
Additional context
My understanding from docs is "By default, all files emitted by a published channel will be published into the specified directory. Lists and maps are recursively scanned for nested files.". In this case, when my file list is inside a Map, I'm not seeing them being published.
The text was updated successfully, but these errors were encountered:
Bug report
If I direct a channel that contains Files inside a map structure to a publish target, the files are not published.
Expected behavior and actual behavior
Expected: Per the documentation here , if I publish a channel with elements like this, I had expected the files listed in the
files
element to be published:Is that not the case?
Actual behavior: files listed inside a map key are not published.
Steps to reproduce the problem
Workflow:
Program output
The execution output from the above workflow:
The workflow succeeds, but the file is not published:
If I change my output channel structure to be a simple List, then the files are published as expected (not shown here). So I'm presuming the issue is that my file list is inside a map?
Environment
Additional context
My understanding from docs is "By default, all files emitted by a published channel will be published into the specified directory. Lists and maps are recursively scanned for nested files.". In this case, when my file list is inside a Map, I'm not seeing them being published.
The text was updated successfully, but these errors were encountered: