Skip to content

Commit

Permalink
Fix for Msgpack 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
padix-key committed Feb 28, 2020
1 parent b0deaea commit 0c5aed2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/biotite/structure/info/atoms.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def _init_dataset():
# Database is already initialized
return

# Residuue data is taken from
# Residue data is taken from
# ftp://ftp.wwpdb.org/pub/pdb/data/monomers/components.cif
# (2019/01/27)
_info_dir = dirname(realpath(__file__))
Expand Down
2 changes: 1 addition & 1 deletion src/biotite/structure/info/bonds.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def _init_dataset():
_info_dir = dirname(realpath(__file__))
with open(join(_info_dir, "intra_bonds.msgpack"), "rb") as file:
_intra_bonds_raw = msgpack.unpack(
file, use_list=False, raw=False
file, use_list=False, raw=False, strict_map_key=False
)
_intra_bonds = {}
for group, group_bonds_raw in _intra_bonds_raw.items():
Expand Down

0 comments on commit 0c5aed2

Please sign in to comment.