Skip to content

Commit

Permalink
Merge pull request #1200 from psavery/fiber-pick-append-empty
Browse files Browse the repository at this point in the history
In fiber picking, append empty array for no spots
  • Loading branch information
joelvbernier authored Apr 27, 2022
2 parents e9d06ab + a9110f5 commit 37324aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hexrd/ui/indexing/fiber_pick_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,6 @@ def _angles_from_orientation(instr, eta_ome_maps, orientation):
np.degrees(np.atleast_2d(angs[this_idx, 1:]))
)
else:
simulated_angles.append(None)
simulated_angles.append(np.empty((0,)))

return simulated_angles

0 comments on commit 37324aa

Please sign in to comment.