Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
RNA-seq
Manage
Activity
Members
Labels
Plan
Issues
12
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
GUDMAP_RBK
RNA-seq
Commits
992f9c60
Commit
992f9c60
authored
4 years ago
by
Gervaise Henry
Browse files
Options
Downloads
Patches
Plain Diff
Fix bash int if comparison for fastq number check
parent
dc3c7ff4
2 merge requests
!58
Develop
,
!56
Resolve "Detect error in inferMetadata for tracking"
Pipeline
#8785
passed with stages
in 4 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
workflow/rna-seq.nf
+3
-3
3 additions, 3 deletions
workflow/rna-seq.nf
with
3 additions
and
3 deletions
workflow/rna-seq.nf
+
3
−
3
View file @
992f9c60
...
...
@@ -338,15 +338,15 @@ process parseMetadata {
# check not incorrect number of fastqs
fastqCountError=false
fastqCountError_details=""
if [ ${fastqCount}
> 2
]
if [
"
${fastqCount}
" -gt "2"
]
then
fastqCountError=true
fastqCountError_details="Too many fastqs detected (>2)"
elif [ "\${endsMeta}"" == "Single Read" ] && [ ${fastqCount}
!= 1
]
elif [ "\${endsMeta}"" == "Single Read" ] && [
"
${fastqCount}
" -ne "1"
]
then
fastqCountError=true
fastqCountError_details="Number of fastqs detected does not match submitted endness"
elif [ "\${endsMeta}"" == "Paired End" ] && [ ${fastqCount}
!= 2
]
elif [ "\${endsMeta}"" == "Paired End" ] && [
"
${fastqCount}
" -ne "2"
]
then
fastqCountError=true
fastqCountError_details="Number of fastqs detected does not match submitted endness"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment