This repository has been archived by the owner on Jan 20, 2025. It is now read-only.
forked from cctbx/dxtbx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Load lookups when not checking format (cctbx#760)
* Load lookups (when available) even if check_format=False Change the behaviour of ExperimentListDict._load_pickle_path so that the lookup files for mask, gain, pedestal and offset maps are loaded whenever the file is available. Previously these were only loaded when check_format=True. However, these files are produced by data processing so normally they would be available alongside experiments and reflections even if the raw images are not available. The existence of these files does not really have anything to do with the Format. This change ensures that dx, dy maps are loaded even when check_format=False, which fixes dials/dials#2744 * Lack of dx, dy maps affects processing, so be strict about loading them. If they are expected but not loaded, then fail. Thanks to @ndevenish for the suggestion.
- Loading branch information
Showing
2 changed files
with
28 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Ensure that data processing auxililary files (mask, gain, pedestal, and | ||
dx and dy maps) are loaded whenever available. This fixes | ||
https://github.com/dials/dials/issues/2744 |
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