Skip to content

Commit

Permalink
Fixed discrepancy with previous merged from filter-new-addresses into…
Browse files Browse the repository at this point in the history
… filter_query
  • Loading branch information
kylacochrane committed May 16, 2024
1 parent 6cf40c3 commit e4d5031
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 49 deletions.
43 changes: 0 additions & 43 deletions modules/local/filter/main.nf

This file was deleted.

9 changes: 3 additions & 6 deletions modules/local/filter_query/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ process FILTER_QUERY {
val out_format

output:
path("new_addresses.csv"), emit: csv
path("new_addresses.*"), emit: csv
path("versions.yml"), emit: versions

script:
Expand All @@ -31,11 +31,8 @@ process FILTER_QUERY {
${addresses} \\
--filter '\$id == \"$queryID\"' \\
--delimiter "${delimiter}" \\
--out-delimiter "${out_delimiter}" \\
--out-file ${outputFile}.tmp
csvtk cut -f 1,2 ${outputFile}.tmp > ${outputFile}.${out_extension}
rm ${outputFile}.tmp
--out-delimiter "${out_delimiter}" | \\
csvtk cut -f id,address > ${outputFile}.${out_extension}
cat <<-END_VERSIONS > versions.yml
"${task.process}":
Expand Down

0 comments on commit e4d5031

Please sign in to comment.