Commit 6554f4e
committed
Handle missing primary stream in amptek export
When a scan is stopped or aborted prematurely there is no primary
stream, causing has_amptek_keys to raise an error and flagging the
workflow as failed. Check for the primary stream and return False so
the workflow completes successfully instead of erroring.1 parent 92b70d9 commit 6554f4e
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
13 | 20 | | |
14 | 21 | | |
15 | 22 | | |
| |||
0 commit comments