Skip to content

Commit

Permalink
Merge pull request #420 from aqlaboratory/resolution-fix
Browse files Browse the repository at this point in the history
Fix resolution field in mmcif_parsing
  • Loading branch information
ljarosch authored Mar 28, 2024
2 parents df8a002 + 732d283 commit 80c85b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openfold/data/mmcif_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ def _get_header(parsed_info: MmCIFDict) -> PdbHeader:
try:
raw_resolution = parsed_info[res_key][0]
header["resolution"] = float(raw_resolution)
break
except ValueError:
logging.debug(
"Invalid resolution format: %s", parsed_info[res_key]
Expand Down

0 comments on commit 80c85b5

Please sign in to comment.