Commit 51e070f
committed
This fixes the bugs mentioned in iss444:
The output log and error log files are not filled for command line jobs.
This is a simple error where the opened file handle is assigned to self.out instead of self.component_out.
When running a single job, it is convenient for the script to run the first job in a jobs.json file, instead of having to make a specific job.json file without the [] brackets.
Simple solution: check if the json is a list, and if so, use the first element from this list.
The ProcessMiniDst needs a few tweaks to run properly.1 parent 2993715 commit 51e070f
2 files changed
Lines changed: 12 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
| 298 | + | |
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
| 306 | + | |
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
| 338 | + | |
| 339 | + | |
338 | 340 | | |
339 | 341 | | |
340 | 342 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
458 | 458 | | |
459 | 459 | | |
460 | 460 | | |
461 | | - | |
| 461 | + | |
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
| |||
504 | 504 | | |
505 | 505 | | |
506 | 506 | | |
507 | | - | |
| 507 | + | |
| 508 | + | |
508 | 509 | | |
509 | 510 | | |
510 | 511 | | |
| |||
515 | 516 | | |
516 | 517 | | |
517 | 518 | | |
518 | | - | |
| 519 | + | |
519 | 520 | | |
520 | 521 | | |
521 | | - | |
| 522 | + | |
522 | 523 | | |
523 | | - | |
| 524 | + | |
| 525 | + | |
524 | 526 | | |
525 | | - | |
| 527 | + | |
526 | 528 | | |
527 | | - | |
528 | 529 | | |
529 | 530 | | |
530 | 531 | | |
| |||
0 commit comments