Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

Commit b9644c0

Browse files
committed
fix file naming
1 parent 2212b5d commit b9644c0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

main.nf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,11 +240,11 @@ process join_embeddings {
240240
publishDir "${params.out}", overwrite: true
241241

242242
input:
243-
tuple val(model), path(prev_pq), path(new_pq)
243+
tuple val(model), path(prev_pq, stageAs: 'prev.parquet'), path(new_pq)
244244
path terms_tsv
245245

246246
output:
247-
tuple val(model), path("${model.split('/')[1]}_joined.parquet")
247+
tuple val(model), path("${model.split('/')[1]}.parquet")
248248

249249
script:
250250
def model_short = model.split('/')[1]
@@ -266,7 +266,7 @@ process join_embeddings {
266266
NULL::FLOAT[] AS embedding
267267
WHERE FALSE
268268
"""
269-
: "SELECT * FROM read_parquet('${prev_pq.toString()}')"
269+
: "SELECT * FROM read_parquet('prev.parquet')"
270270

271271
"""
272272
duckdb /dev/shm/terms_embedded.duckdb -c "
@@ -333,7 +333,7 @@ process join_embeddings {
333333
UNION ALL
334334
SELECT * FROM carryover
335335
)
336-
TO '${model_short}_joined.parquet'
336+
TO '${model_short}.parquet'
337337
(FORMAT PARQUET, COMPRESSION ZSTD);
338338
"
339339
"""

0 commit comments

Comments
 (0)