Skip to content

Commit

Permalink
Merge pull request #676 from hakonanes/pyebsdindex-0.3-compat
Browse files Browse the repository at this point in the history
Compatibility with PyEBSDIndex 0.3
  • Loading branch information
hakonanes authored Jun 1, 2024
2 parents ec872cf + 379c876 commit 0480dd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion kikuchipy/signals/tests/test_ebsd_hough_indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def test_optimize_pc(self):

det = self.signal.hough_indexing_optimize_pc(det0.pc_average, self.indexer)
assert det.navigation_shape == (1,)
assert np.allclose(det.pc_average, det0.pc_average, atol=1e-2)
assert np.allclose(det.pc_average, det0.pc_average, atol=0.05)

# Batch with PC array with more than one dimension
det2 = self.signal.hough_indexing_optimize_pc(
Expand Down
8 changes: 1 addition & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,7 @@
],
"all": [
"nlopt",
# We ask for a compatible release of PyEBSDIndex as we
# anticipate breaking changes in coming releases. We do so
# because there were breaking changes between 0.1.2 and 0.2.0.
# We can change from ~= to >= once we consider PyEBSDIndex
# stable. This is typically when a minor release with no or
# only minor breaking changes is made available.
"pyebsdindex ~= 0.2",
"pyebsdindex >= 0.2",
"pyvista",
],
}
Expand Down

0 comments on commit 0480dd3

Please sign in to comment.