Skip to content

Commit

Permalink
DataItem ASU fix
Browse files Browse the repository at this point in the history
  • Loading branch information
paulsbond committed Jul 12, 2022
1 parent 660ee98 commit 1d24908
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This project adheres to [Semantic Versioning](https://semver.org).
### Fixed

- Catching connection errors when requesting PDB entry contents
- Ensuring MTZ data items use the same ASU definition

## [2.4.0] - 2022-06-01

Expand Down
1 change: 1 addition & 0 deletions modelcraft/reflections.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def __init__(self, mtz: gemmi.Mtz, columns: Union[str, Iterable[gemmi.Mtz.Column
data = data[~numpy.isnan(data[:, 3:]).all(axis=1)]
self.set_data(data)
self.update_reso()
self.ensure_asu()

def label(self, index: Optional[int] = None) -> str:
if index is None:
Expand Down

0 comments on commit 1d24908

Please sign in to comment.