-
Notifications
You must be signed in to change notification settings - Fork 777
Open
Labels
Description
Currently, when a 'path' output of process A (e.g. param1/param2/data.csv) is passed as a 'path' input to a downstream process 'B', only the basename of the file (data.csv) is preserved; the path relative to task execution directory (param1/param2) is lost. This causes headaches whenever we adapt for Nextflow existing scripts that use paths to represent metadata. I often end up adding boilerplate code to manually save the full paths, pass them along as extra outputs, and restore them in subsequent steps. It would help if Nextflow had an option to save/restore the full relative paths automatically.
Reactions are currently unavailable