Skip to content

Commit

Permalink
[FIX] minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gagnonanthony committed May 22, 2024
1 parent fcd67ec commit c53756e
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion modules/nf-scil/tractogram/resample/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ process TRACTOGRAM_RESAMPLE {
tuple val(meta), path(tractograms)

output:
tuple val(meta), path("*_resampled*.trk") , emit: tractograms
tuple val(meta), path("*_resampled.trk") , emit: tractograms
path "versions.yml" , emit: versions

when:
Expand Down
2 changes: 1 addition & 1 deletion modules/nf-scil/tractogram/resample/meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ output:
type: file
description: |
Resampled tractograms.
pattern: "*.{trk}"
pattern: "*_resampled.trk"

authors:
- "@gagnonanthony"
Expand Down
2 changes: 0 additions & 2 deletions modules/nf-scil/tractogram/resample/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ nextflow_process {
}
}
then {
//println file(process.out.tractograms.get(0).get(1).toList().get(0))
//println file(process.out.tractograms.get(0).get(1).toList().get(1))
assertAll(
{ assert process.success },
{ assert snapshot(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
process {
publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" }
withName: "TRACTOGRAM_RESAMPLE" {
publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" }
ext.nb_points = 10
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
process {
publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" }
withName: "TRACTOGRAM_RESAMPLE" {
publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" }
ext.never_upsample = true
ext.nb_streamlines = 5000
ext.seed = 44
Expand Down

0 comments on commit c53756e

Please sign in to comment.