Skip to content
Snippets Groups Projects
Commit 517ccbe9 authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Change version variable to string to fix #8

parent fd8f3ac6
3 merge requests!16Develop,!6Fix cellranger version variable type,!5Resolve "Add cellranger 3.0.2 as option"
Pipeline #3136 passed with stage
in 16 seconds
...@@ -126,11 +126,11 @@ workflow_parameters: ...@@ -126,11 +126,11 @@ workflow_parameters:
- id: version - id: version
type: select type: select
default: 3.0.2 default: '3.0.2'
choices: choices:
- [ 3.0.2, '3.0.2'] - [ '3.0.2', '3.0.2']
- [ 3.0.1, '3.0.1'] - [ '3.0.1', '3.0.1']
- [ 2.1.1, '2.1.1'] - [ '2.1.1', '2.1.1']
required: true required: true
description: | description: |
10x cellranger version. 10x cellranger version.
......
...@@ -9,7 +9,7 @@ params.designFile = "$baseDir/../test_data/design.csv" ...@@ -9,7 +9,7 @@ params.designFile = "$baseDir/../test_data/design.csv"
params.genome = '/project/apps_database/cellranger/refdata-cellranger-GRCh38-1.2.0' params.genome = '/project/apps_database/cellranger/refdata-cellranger-GRCh38-1.2.0'
params.expectCells = 10000 params.expectCells = 10000
params.forceCells = 0 params.forceCells = 0
params.version = 3.0.2 params.version = '3.0.2'
// Define regular variables // Define regular variables
designLocation = Channel designLocation = Channel
...@@ -90,7 +90,7 @@ process count211 { ...@@ -90,7 +90,7 @@ process count211 {
file("**/outs/**") into outPaths211 file("**/outs/**") into outPaths211
when: when:
version == 211 version == '2.1.1'
script: script:
if (forceCells211 == 0){ if (forceCells211 == 0){
...@@ -121,7 +121,7 @@ process count301 { ...@@ -121,7 +121,7 @@ process count301 {
file("**/outs/**") into outPaths301 file("**/outs/**") into outPaths301
when: when:
version == 301 version == '3.0.1'
script: script:
if (forceCells301 == 0){ if (forceCells301 == 0){
...@@ -152,7 +152,7 @@ process count302 { ...@@ -152,7 +152,7 @@ process count302 {
file("**/outs/**") into outPaths302 file("**/outs/**") into outPaths302
when: when:
version == 302 version == '3.0.2'
script: script:
if (forceCells302 == 0){ if (forceCells302 == 0){
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment