Repository navigation
Commit 88fa205
committed
fix(nextflow-development): quote samplesheet fields with csv.writer
_write_samplesheet joined values with ','.join, so a FASTQ/BAM path
containing a comma (e.g. "reads,run/sample_R1_001.fastq.gz") was split
across several columns. The script reported success, but the file had
more data fields than header fields and failed its own --validate.
Write rows with csv.writer instead, keeping '\n' line endings so output
for ordinary paths is unchanged.
Fixes anthropics#12961 parent 95bdacc commit 88fa205
1 file changed
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
327 | 328 | | |
328 | 329 | | |
329 | 330 | | |
330 | | - | |
331 | | - | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
332 | 336 | | |
333 | | - | |
334 | | - | |
| 337 | + | |
335 | 338 | | |
336 | 339 | | |
337 | 340 | | |
| |||
351 | 354 | | |
352 | 355 | | |
353 | 356 | | |
354 | | - | |
355 | | - | |
356 | 357 | | |
357 | 358 | | |
358 | 359 | | |
| |||
0 commit comments