Commit 7e6bf3d
Allow skipped subpanels in fit-grains
This allows subpanels to be skipped in the fitting method. This
happens if there is no HEDM signal on a particular subpanel.
It prevents an error like the following:
```python
File ".../hexrd/hedm/fitting/grains.py", line 251, in objFuncFitGrain
results = reflections_dict[det_key]
~~~~~~~~~~~~~~~~^^^^^^^^^
KeyError: 'eiger_0_0'
```
Signed-off-by: Patrick Avery <patrick.avery@kitware.com>1 parent 34dab3e commit 7e6bf3d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| |||
0 commit comments