Skip to content

Improve stability for test_export_best.py#2791

Merged
jbeilstenedmands merged 3 commits intomainfrom
improve_export_best_test
Nov 6, 2024
Merged

Improve stability for test_export_best.py#2791
jbeilstenedmands merged 3 commits intomainfrom
improve_export_best_test

Conversation

@jbeilstenedmands
Copy link
Copy Markdown
Contributor

Start the test to run on an example dataset for which we have integrated data available in dials_data, rather than running the whole processing starting from dials.import. This meant that any changes to a program that causes the results to change can cause this unrelated test to start failing due to the comparison of the precise line-by-line output in export, which I have experienced before and has been seen once again (#2790).

Also for me this reduces the runtime of this test from 22s to 3s.

@jbeilstenedmands jbeilstenedmands enabled auto-merge (squash) November 6, 2024 13:51
@jbeilstenedmands jbeilstenedmands merged commit 56f76df into main Nov 6, 2024
@jbeilstenedmands jbeilstenedmands deleted the improve_export_best_test branch November 6, 2024 19:10
graeme-winter pushed a commit that referenced this pull request Nov 19, 2024
Improve stability and runtime for test_export_best.py by starting at integrated data.
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