Commit 03c69d9
committed
Set FSLOUTPUTTYPE in container env, drop styxcache bypass workaround
The nightly surfaced a real latent bug once we got container stderr
flowing: lta_convert's FSL output path exits non-zero with "ERROR:
trying to convert FreeSurfer registration matrix to FSL, but
FSLOUTPUTTYPE variable is not set." The default env dict only injected
ITK threads, ANTs seed, and SURFER_SIDEDOOR; nothing set the FSL
output type, which FreeSurfer (and FSL) reads to decide what
filesystem format to emit. Adding FSLOUTPUTTYPE=NIFTI_GZ is idiomatic
FSL default behavior and is ignored by non-FSL tools, so applying it
globally is safe.
Also:
- Bump styx-runtime-py packages: styxpodman 0.1.1->0.2.0 (carries the
fix from styx-api/styx-runtime-py#9 that surfaces container stderr
through the cache wrapper on failure), plus siblings.
- Drop the bypass_cache kwarg and RBC_STYXCACHE_DIR clearing from the
template fixture. With the new styxpodman, the raw tool stderr now
reaches the parent subprocess even through the cache wrapper, so
the workaround is obsolete and we can keep the cache speedup on
this invocation too.1 parent 65cbc97 commit 03c69d9
3 files changed
Lines changed: 21 additions & 34 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
38 | | - | |
| 37 | + | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | 44 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | 45 | | |
57 | 46 | | |
58 | 47 | | |
59 | 48 | | |
60 | 49 | | |
61 | | - | |
62 | 50 | | |
63 | 51 | | |
64 | 52 | | |
| |||
158 | 146 | | |
159 | 147 | | |
160 | 148 | | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | 149 | | |
168 | 150 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments