Skip to content

Convert remaining tests to use dials-data rather than dials_regression#2915

Merged
dagewa merged 21 commits intomainfrom
convert-some-leftover-tests-to-use-dials-data
May 8, 2025
Merged

Convert remaining tests to use dials-data rather than dials_regression#2915
dagewa merged 21 commits intomainfrom
convert-some-leftover-tests-to-use-dials-data

Conversation

@dagewa
Copy link
Copy Markdown
Member

@dagewa dagewa commented May 7, 2025

This PR completes the conversion of DIALS tests to use dials-data (for #2880). In some cases tests were pointed to close copies of the original files (generally updated to modern .{expt,refl} format, renamed, and path records edited). In other cases the tests were changed to use files already on dials-data to avoid excessive increases in the size of data downloaded by dials-data.

Mostly this was straightforward. One exception is test_filter_overlaps.py, which does not appear to function as expected when the test data set was changed. Seeing as we believe this functionality to be broken anyway (#2909) it seems reasonable to xfail the test at this point.

This PR will be followed by a similar one for dxtbx, and then a further pair of PRs to remove the dials_regression fixtures from conftest.py files.

@dagewa
Copy link
Copy Markdown
Member Author

dagewa commented May 7, 2025

The test errors are a dumb thing fixed by dials/data#506. I'll try again tomorrow when a new version of dials-data makes it to conda-forge

@dagewa dagewa merged commit 93ab400 into main May 8, 2025
12 checks passed
@dagewa dagewa deleted the convert-some-leftover-tests-to-use-dials-data branch May 8, 2025 15:57
ndevenish pushed a commit that referenced this pull request Dec 9, 2025
…sion` (#2915)

This completes the full transition to `dials-data` for DIALS tests, such that no tests use data on `dials_regression/` any more.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants