Commit b7879d7
ENH: Skip newline before Python call in batch submission to facilitate containerized runs (#3297)
* Avoid empty line in bash script output
Remove the newline at the end of template to avoid having am empty line after joining with the node command. This allows to have the node command integrated in more complex call, such as a `singularity exec ...` call.
* Rather remove the newlines than trim the last char of the template.
As per @effigies suggestion.
Co-authored-by: Chris Markiewicz <effigies@gmail.com>
Co-authored-by: Christopher J. Markiewicz <markiewicz@stanford.edu>
Co-authored-by: Chris Markiewicz <effigies@gmail.com>1 parent 28d76cf commit b7879d7
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
543 | 543 | | |
544 | 544 | | |
545 | 545 | | |
546 | | - | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
547 | 549 | | |
548 | 550 | | |
549 | 551 | | |
| |||
0 commit comments