Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fromFilePairs can't take list of paths #1405

Closed
ewels opened this issue Dec 6, 2019 · 4 comments
Closed

fromFilePairs can't take list of paths #1405

ewels opened this issue Dec 6, 2019 · 4 comments
Milestone

Comments

@ewels
Copy link
Member

ewels commented Dec 6, 2019

Bug report

Expected behavior and actual behavior

We'd like to be able to specify a list of specific URLs for use with fromFilePairs as follows, however it doesn't yet seem to be possible.

Steps to reproduce the problem

ch_read_files = Channel.fromFilePairs([
  'https://github.com/nf-core/test-datasets/raw/methylseq/testdata/SRR389222_sub1.fastq.gz',
  'https://github.com/nf-core/test-datasets/raw/methylseq/testdata/SRR389222_sub2.fastq.gz',
  'https://github.com/nf-core/test-datasets/raw/methylseq/testdata/SRR389222_sub3.fastq.gz'
], size: 1)

Program output

Invalid method `call` invocation with arguments: /nf-core/test-datasets/raw/methylseq/testdata/SRR389222_sub1.fastq.gz (nextflow.file.http.XPath) on _fromFilePairs0_closure10 type

Environment

  • Nextflow version: 19.11.0-edge build 5173
  • Java version: java version "1.8.0_144"
  • Operating system: macOS

Additional context

Related: #874 (comment) and #946

@pditommaso
Copy link
Member

Ok, solved. It will be included in the next release.

@ewels
Copy link
Member Author

ewels commented Dec 8, 2019

Thank you! 🙏🏻

@ewels
Copy link
Member Author

ewels commented Dec 8, 2019

Is it available in an edge version already?

@pditommaso
Copy link
Member

Nope, only avail on master. I'll make an edge release in a couple of weeks.

rjpbonnal pushed a commit to rjpbonnal/nextflow that referenced this issue Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants