Unverified Commit 80c85b54 authored by ljarosch's avatar ljarosch Committed by GitHub
Browse files

Merge pull request #420 from aqlaboratory/resolution-fix

Fix resolution field in mmcif_parsing
parents df8a002d 732d283a
......@@ -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]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment