Commit 8589859
committed
fix(chimeric): create output parent directory before writing
The chimeric output writer constructs its path as
<outFileNamePrefix>/Chimeric.out.junction, treating the prefix as
a directory regardless of whether it ends in `/`. In two-pass mode
the chim writer fires before any other output creates that directory,
so the file open fails with "No such file or directory" and the
entire run aborts.
Call create_dir_all on the parent of the chim output path before
opening the file. Without two-pass mode the bug was masked because
another output writer happened to create the dir first.
Fixes #351 parent 70be24d commit 8589859
1 file changed
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
28 | 34 | | |
29 | 35 | | |
30 | 36 | | |
| |||
287 | 293 | | |
288 | 294 | | |
289 | 295 | | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
290 | 320 | | |
291 | 321 | | |
292 | 322 | | |
| |||
0 commit comments