Skip to content
Discussion options

You must be logged in to vote

Hi,

I see a couple of issues:

  1. publishDir should use double quotes instead of single quotes to allow variable interpolation, e.g.:
    publishDir "/project/shared/gcrb_igvf/ashley/workspace/load_data_csv/${params.batch}/${plateid}/", mode: 'move'
  2. Repeating tag will cause it to be overridden (i.e. the first tag "${params.batch}" will be ignored)
  3. The image_dir_ch will only contain the path to the directory, not a tuple of plateid and path to directory. I think you want something like:
    image_dir_ch = Channel
         .fromPath('/project/shared/gcrb_igvf/ashley/workspace/images/${params.batch}/*_1', type: 'dir')
         .map { [it.name, it ] }

Hopefully that helps.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@ashdederich
Comment options

@jemunro
Comment options

@ashdederich
Comment options

@jemunro
Comment options

Answer selected by ashdederich
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants