Commit 3a81a0f
Fix frame cleanup race, value0 guard, and clean up warnings imports
renderer.py:
- Use tempfile.mkdtemp instead of hardcoded _frames/ dir to prevent
concurrent-run conflicts when two instances render to the same output dir
- Always clean up temporary frame files (move cleanup into finally block
so frames are removed even if imageio write fails)
silo_reader.py:
- Add guard for missing 'value0' key in Silo attr (avoids cryptic KeyError
on malformed Silo files; emits a warning and skips the variable)
- Move `import warnings` to module scope (remove duplicate inline imports)
reader.py:
- Move `import warnings` to module scope (remove duplicate inline imports)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 01844d0 commit 3a81a0f
3 files changed
Lines changed: 13 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
395 | 396 | | |
396 | 397 | | |
397 | 398 | | |
398 | | - | |
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
403 | | - | |
404 | 403 | | |
405 | 404 | | |
406 | 405 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | | - | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
| 200 | + | |
201 | 201 | | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
| 202 | + | |
| 203 | + | |
212 | 204 | | |
213 | 205 | | |
214 | 206 | | |
| |||
246 | 238 | | |
247 | 239 | | |
248 | 240 | | |
249 | | - | |
250 | 241 | | |
251 | 242 | | |
252 | 243 | | |
| |||
261 | 252 | | |
262 | 253 | | |
263 | 254 | | |
264 | | - | |
265 | | - | |
266 | | - | |
| 255 | + | |
267 | 256 | | |
268 | | - | |
269 | 257 | | |
270 | | - | |
| 258 | + | |
271 | 259 | | |
272 | 260 | | |
273 | 261 | | |
274 | 262 | | |
275 | 263 | | |
276 | | - | |
| 264 | + | |
277 | 265 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
115 | 116 | | |
116 | 117 | | |
117 | 118 | | |
118 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
119 | 123 | | |
120 | 124 | | |
121 | 125 | | |
| |||
160 | 164 | | |
161 | 165 | | |
162 | 166 | | |
163 | | - | |
164 | 167 | | |
165 | 168 | | |
166 | 169 | | |
| |||
0 commit comments