These are chat archives for nextflow-io/nextflow

19th
May 2016
Paolo Di Tommaso
@pditommaso
May 19 2016 08:36
I've made a couple of test and it seems that move is not happy with directories over S3
However both of the following works
process foo {
  publishDir 's3://cbcrg-eu/work/hello/x', mode: 'move'

  output: 
  file('x/*')

  """
  mkdir x 
  touch x/one
  touch x/two
  """
}
process foo {
  publishDir 's3://cbcrg-eu/work/hello'

  output: 
  file('x')

  """
  mkdir x 
  touch x/one
  touch x/two
  """
}
Jason Byars
@jbyars
May 19 2016 13:56
interesting, last night what I found was was it worked as expected when mode: 'copy', but only creates the folder when `mode: 'move'. Let me see if I can replicate the behavior on a simpler example this morning.
Paolo Di Tommaso
@pditommaso
May 19 2016 14:02
I've created an issue, feel free to comment on it
nextflow-io/nextflow#160
Jason Byars
@jbyars
May 19 2016 15:54
example posted. I must be doing something syntatically questionable
thanks for looking into this.
Paolo Di Tommaso
@pditommaso
May 19 2016 16:06
you are welcome