Commit 606fdf0
committed
✨
xtl.jobs.config2:BatchJobConfig
- New configuration class for storing options and templates for
programmatic BatchFile generation
- Will replace xtl.jobs.config:BatchConfig in the future
xtl.jobs.batchfiles:BatchFile
- New .from_config() class method for creating pre-configured BatchFiles
with pre-defined payload/content
- Fixed a bug in .save() where extra new line characters would be
generated if there was no preamble/content/postamble
- Added more docstrings
- Fixed some circular imports
xtl.jobs.sites
- Fixed a bug where ComputeSite was not hashable
- Fixed some circular imports
xtl.settings
- Added options for jobs and batchfiles
xtl.common.validators
- Added new validation function for returning a temp dir if None is
providedBatchFile rendering from templates1 parent 242bca9 commit 606fdf0
File tree
6 files changed
+420
-20
lines changed- src/xtl
- common
- config
- jobs
6 files changed
+420
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
143 | 154 | | |
144 | 155 | | |
145 | 156 | | |
| |||
203 | 214 | | |
204 | 215 | | |
205 | 216 | | |
| 217 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
110 | 145 | | |
111 | 146 | | |
112 | 147 | | |
| |||
235 | 270 | | |
236 | 271 | | |
237 | 272 | | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
238 | 276 | | |
239 | 277 | | |
240 | 278 | | |
| |||
0 commit comments