Skip to content

Commit

Permalink
Merge pull request #143 from rigdenlab/gemmi_fix
Browse files Browse the repository at this point in the history
Fixed issue with phaser enantiomorph search and gemmi entities
  • Loading branch information
hlasimpk authored Mar 24, 2023
2 parents 89570f1 + 5f435fe commit 476ad55
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

0.2.8
-----
- Fixed issue with gemmi missing entities
- Fixed issue with using enantiomorphs in phaser

0.2.7
-----

Expand Down
2 changes: 1 addition & 1 deletion simbad/mr/phaser_mr.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def run(self):

if input_mtz_obj.spacegroup_symbol != output_mtz_obj.spacegroup_symbol:
mtz_util.reindex(self.hklin, self.hklout,
"".join(output_mtz_obj.spacegroup_symbol.encode("ascii").split()))
"".join(output_mtz_obj.spacegroup_symbol.split()))
else:
shutil.copyfile(self.hklin, self.hklout)

Expand Down
1 change: 1 addition & 0 deletions simbad/util/pdb_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def from_file(cls, input_file):
elif input_file.endswith(".ent.gz"):
struct.structure = gemmi.read_structure(input_file)
struct.assert_structure()
struct.structure.setup_entities()
return struct

@classmethod
Expand Down
2 changes: 1 addition & 1 deletion simbad/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Maintain sematantic versioning. Further information can
# be found here [http://semver.org/]
__version_info__ = (0, 2, 7)
__version_info__ = (0, 2, 8)

# ======================================================
# Do __NOT__ change anything below here
Expand Down

0 comments on commit 476ad55

Please sign in to comment.