forked from dials/dials
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't raise gemmi
ModuleNotFoundError
unless gemmi is used (dials#2592
) * Hide gemmi imports so `ImportError` is not raised unless gemmi is used * News fragment * Removed whitespace introduced by accident * ... and add missing whitespace * Make gemmi import "Up-front but nullable", re-raise if needed * Make is specific: `ModuleNotFoundError`
- Loading branch information
Showing
2 changed files
with
10 additions
and
1 deletion.
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 @@ | ||
Reorganize imports in ``export_mtz.py`` so that its gemmi-less objects can be used by other gemmi-less software |
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