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

by remove the 2>&1 to avoid the warning message. #5974

Merged
merged 1 commit into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/nf-core/genmap/index/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ process GENMAP_INDEX {

cat <<-END_VERSIONS > versions.yml
"${task.process}":
genmap: \$(genmap --version 2>&1 | sed 's/GenMap version: //; s/SeqAn.*\$//')
genmap: \$(genmap --version | sed 's/GenMap version: //; s/SeqAn.*\$//')
END_VERSIONS
"""

Expand All @@ -42,7 +42,7 @@ process GENMAP_INDEX {

cat <<-END_VERSIONS > versions.yml
"${task.process}":
genmap: \$(genmap --version 2>&1 | sed 's/GenMap version: //; s/SeqAn.*\$//')
genmap: \$(genmap --version | sed 's/GenMap version: //; s/SeqAn.*\$//')
END_VERSIONS
"""
}
4 changes: 2 additions & 2 deletions modules/nf-core/genmap/map/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ process GENMAP_MAP {

cat <<-END_VERSIONS > versions.yml
"${task.process}":
genmap: \$(genmap --version 2>&1 | sed 's/GenMap version: //; s/SeqAn.*\$//')
genmap: \$(genmap --version | sed 's/GenMap version: //; s/SeqAn.*\$//')
END_VERSIONS
"""

Expand All @@ -60,7 +60,7 @@ process GENMAP_MAP {

cat <<-END_VERSIONS > versions.yml
"${task.process}":
genmap: \$(genmap --version 2>&1 | sed 's/GenMap version: //; s/SeqAn.*\$//')
genmap: \$(genmap --version | sed 's/GenMap version: //; s/SeqAn.*\$//')
END_VERSIONS
"""
}
2 changes: 1 addition & 1 deletion modules/nf-core/pairtools/dedup/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ process PAIRTOOLS_DEDUP {

cat <<-END_VERSIONS > versions.yml
"${task.process}":
pairtools: \$(pairtools --version 2>&1 | tr '\\n' ',' | sed 's/.*pairtools.*version //' | sed 's/,\$/\\n/')
pairtools: \$(pairtools --version | tr '\\n' ',' | sed 's/.*pairtools.*version //' | sed 's/,\$/\\n/')
END_VERSIONS
"""
}
2 changes: 1 addition & 1 deletion modules/nf-core/pairtools/flip/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ process PAIRTOOLS_FLIP {

cat <<-END_VERSIONS > versions.yml
"${task.process}":
pairtools: \$(pairtools --version 2>&1 | tr '\\n' ',' | sed 's/.*pairtools.*version //' | sed 's/,\$/\\n/')
pairtools: \$(pairtools --version | tr '\\n' ',' | sed 's/.*pairtools.*version //' | sed 's/,\$/\\n/')
END_VERSIONS
"""
}
2 changes: 1 addition & 1 deletion modules/nf-core/pairtools/merge/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ process PAIRTOOLS_MERGE {

cat <<-END_VERSIONS > versions.yml
"${task.process}":
pairtools: \$(pairtools --version 2>&1 | tr '\\n' ',' | sed 's/.*pairtools.*version //' | sed 's/,\$/\\n/')
pairtools: \$(pairtools --version | tr '\\n' ',' | sed 's/.*pairtools.*version //' | sed 's/,\$/\\n/')
END_VERSIONS
"""
}
2 changes: 1 addition & 1 deletion modules/nf-core/pairtools/parse/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ process PAIRTOOLS_PARSE {

cat <<-END_VERSIONS > versions.yml
"${task.process}":
pairtools: \$(pairtools --version 2>&1 | tr '\\n' ',' | sed 's/.*pairtools.*version //' | sed 's/,\$/\\n/')
pairtools: \$(pairtools --version | tr '\\n' ',' | sed 's/.*pairtools.*version //' | sed 's/,\$/\\n/')
END_VERSIONS
"""
}
2 changes: 1 addition & 1 deletion modules/nf-core/pairtools/restrict/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ process PAIRTOOLS_RESTRICT {

cat <<-END_VERSIONS > versions.yml
"${task.process}":
pairtools: \$(pairtools --version 2>&1 | tr '\\n' ',' | sed 's/.*pairtools.*version //' | sed 's/,\$/\\n/')
pairtools: \$(pairtools --version | tr '\\n' ',' | sed 's/.*pairtools.*version //' | sed 's/,\$/\\n/')
END_VERSIONS
"""
}
2 changes: 1 addition & 1 deletion modules/nf-core/pairtools/select/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ process PAIRTOOLS_SELECT {

cat <<-END_VERSIONS > versions.yml
"${task.process}":
pairtools: \$(pairtools --version 2>&1 | tr '\\n' ',' | sed 's/.*pairtools.*version //' | sed 's/,\$/\\n/')
pairtools: \$(pairtools --version | tr '\\n' ',' | sed 's/.*pairtools.*version //' | sed 's/,\$/\\n/')
END_VERSIONS
"""
}
2 changes: 1 addition & 1 deletion modules/nf-core/pairtools/sort/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ process PAIRTOOLS_SORT {

cat <<-END_VERSIONS > versions.yml
"${task.process}":
pairtools: \$(pairtools --version 2>&1 | tr '\\n' ',' | sed 's/.*pairtools.*version //' | sed 's/,\$/\\n/')
pairtools: \$(pairtools --version | tr '\\n' ',' | sed 's/.*pairtools.*version //' | sed 's/,\$/\\n/')
END_VERSIONS
"""
}
2 changes: 1 addition & 1 deletion modules/nf-core/pairtools/split/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ process PAIRTOOLS_SPLIT {

cat <<-END_VERSIONS > versions.yml
"${task.process}":
pairtools: \$(pairtools --version 2>&1 | sed 's/pairtools, version //')
pairtools: \$(pairtools --version | sed 's/pairtools, version //')
END_VERSIONS
"""

Expand Down
2 changes: 1 addition & 1 deletion modules/nf-core/pairtools/stats/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ process PAIRTOOLS_STATS {

cat <<-END_VERSIONS > versions.yml
"${task.process}":
pairtools: \$(pairtools --version 2>&1 | tr '\\n' ',' | sed 's/.*pairtools.*version //' | sed 's/,\$/\\n/')
pairtools: \$(pairtools --version | tr '\\n' ',' | sed 's/.*pairtools.*version //' | sed 's/,\$/\\n/')
END_VERSIONS
"""
}
Loading