-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove datablock #570
Remove datablock #570
Conversation
Obviously results in some DIALS test failures, but very few: Results (1352.51s): 1517 passed 3 failed - tests/model/test_experiment_list.py:534 test_experimentlist_factory_from_datablock - tests/model/test_experiment_list.py:562 test_experimentlist_to_datablock_imageset - tests/model/test_experiment_list.py:577 test_experimentlist_to_datablock_centroid_test_data
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #570 +/- ##
==========================================
- Coverage 39.10% 37.96% -1.14%
==========================================
Files 181 182 +1
Lines 15864 15817 -47
Branches 3066 3037 -29
==========================================
- Hits 6203 6005 -198
- Misses 9075 9244 +169
+ Partials 586 568 -18 |
N.B.
were previously missed |
In fairness, removing |
Found and expired offending regression tests. They were not useful if we do not have datablock. If there is useful test coverage in there should be added as a new PR using experiments. |
OK, waded in this time around and 99% expunged the datablock from history -> there are instances of the word datablock but now all the regression tests pass, the regular ones pass, and so I cam calling this bad boy done.
|
OK, now I have a more reasonable assessment of the test status in
|
It is now impossible to have a datablock.
I'm planning to move everything that gets touched by tests from |
I started moving files, see dials/data-files#46. Once they're available in |
dials/dials#2346 removes datablocks from |
To confirm, after merging dials/dials#2346, there are now two failures in DIALS tests, using dxtbx from this branch, both in
|
Just had a thought, the very quickest way through here would probably be to run something like this on the remaining datablocks:
I could do that and push the results back to I know moving the remaining tests to |
Sounds good to me |
Please, do not do this. We don't update dials_regression, and haven't done since Jan 2020. We don't track installations that do or do not update from SVN. dials_regression should be read-only, as it has for several years (there have been a couple of inadvertant commits that should have all been reverted). Any new files should be exclusively added to dials-data. |
Sorry, I don't have time to work on this any more. I moved all refinement tests to dials-data recently and seeing as there is generally a lack of movement in other files getting moved to dials-data I thought adding experiments to |
Confirmed locally that once dials/dials#2465 is merged, then this can be merged too with no test failures. |
Datablock has been deprecated for several years now. The dxtbx.datablock module has been left in as an alias to the functionality now moved to dxtbx.experiment_list, but will raise a deprecation warning pointing to the new place. Co-authored-by: Aaron Brewster <asbrewster@lbl.gov> Co-authored-by: David Waterman <dgwaterman@gmail.com> Co-authored-by: Nicholas Devenish <ndevenish@gmail.com>
Repeat of #504