Skip to content

Commit

Permalink
Remove leftover asserts from development
Browse files Browse the repository at this point in the history
  • Loading branch information
viljarjf committed Jun 11, 2024
1 parent abbaf3f commit aa617c9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pyxem/signals/indexation_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,9 +440,7 @@ def vectors_from_orientation_map(result, all_vectors, n_best_index=0):
rotation = Rotation.from_euler(
(mirror * rotation, 0, 0), degrees=True, direction="crystal2lab"
)
assert len(vectors.shape) == 1
assert vectors.size > 1
assert rotation.data.size == 4

vectors = ~rotation * vectors.to_miller()
vectors = DiffractingVector(
vectors.phase, xyz=vectors.data.copy(), intensity=intensity
Expand Down

0 comments on commit aa617c9

Please sign in to comment.