Commit b8c9335
Stefan Hahmann
Add a retry mechanism when Python runtime exceptions occur and use it within RegionPropsComputation
Introduce `runScriptWithRetries()` method to handle `PythonRuntimeException` with a retry logic, improving the robustness of the computation workflow.1 parent 4f7d519 commit b8c9335
2 files changed
Lines changed: 22 additions & 1 deletion
File tree
- src/main/java/org/mastodon/mamut
- linking/trackastra/appose/computation
- util/appose
src/main/java/org/mastodon/mamut/linking/trackastra/appose/computation/RegionPropsComputation.java
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
188 | 209 | | |
189 | 210 | | |
190 | 211 | | |
| |||
0 commit comments