Skip to content

Commit

Permalink
Merge pull request #147 from Daniel-VM/dev
Browse files Browse the repository at this point in the history
fix input file not a valid path
  • Loading branch information
Daniel-VM authored Jun 21, 2024
2 parents 75bbec8 + b780766 commit 88f37ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### `Fixed`

- [#147](https://github.com/nf-core/bacass/pull/147) Fixed input file errors related to samplesheets containing relative paths to symbolic links, addressing the 'not a valid path' error.

### `Dependencies`

### `Deprecated`
Expand Down
6 changes: 3 additions & 3 deletions workflows/bacass.nf
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ workflow BACASS {
//
def criteria = multiMapCriteria {
meta, fastq_1, fastq_2, long_fastq, fast5 ->
shortreads: fastq_1 != 'NA' ? tuple(meta, [fastq_1, fastq_2]) : null
longreads: long_fastq != 'NA' ? tuple(meta, long_fastq) : null
fast5: fast5 != 'NA' ? tuple(meta, fast5) : null
shortreads: fastq_1 != 'NA' ? tuple(meta, [file(fastq_1, checkIfExists: true), file(fastq_2, checkIfExists: true)]) : null
longreads: long_fastq != 'NA' ? tuple(meta, file(long_fastq, checkIfExists: true)) : null
fast5: fast5 != 'NA' ? tuple(meta, file(fast5, checkIfExists: true)) : null
}
// See the documentation https://nextflow-io.github.io/nf-validation/samplesheets/fromSamplesheet/
ch_samplesheet
Expand Down

0 comments on commit 88f37ad

Please sign in to comment.