-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Break the DIALS/xfel circular dependency (#627)
DIALS and dxtbx have had dependencies on cctbx_project/xfel, and vice versa. This PR is one of 8 that will break the cyclic dependency. Notably for dxtbx, this specifically removes: pytest.importorskip("xfel") For more detail, see cctbx/cctbx_project#872 and dials/dials#2404 Commits: * Time code moved from xfel to serialtbx * Move in radial_average c++ code from xfel * dpack moved to serialtbx * Jiffy function iterate_detector_at_level moved from xfel to serialtbx * Utility functions and constants from cspad_tbx moved to serialtbx * basis_from_geo and basis moved into serialtbx * Use dxtbx's cbf_wrapper by adding in the only function in the xfel subclass of cbf_wrapper * Move in add_frame_specific_cbf_tables * xfel.util.jungfrau moved to serialtbx.detector * cspad constants and data reading moved to serialtbx * Rayonix toolbox methods and constants moved to serialtbx * Legacy image pickle metrology code moved to serialtbx.detector.legacy_metrology * Remove xfel import tests * Better handle if SIT_* variables are missing for psana (IE don't crash dxtbx in the import step for FormatXTC) * Fix leftover conflict * Remove xfel reference that snuck in with nxmx_writer * Use CCTBX nightly until serialtbx hits stable cctbx * Remove importer skip for xfel from test_nxmx_writer --------- Co-authored-by: Nicholas Devenish <[email protected]>
- Loading branch information
Showing
19 changed files
with
273 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Remove circular dependencies between dxtbx and ``cctbx.xfel`` by using the new ``serialtbx``. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.