Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
OpenFold
Commits
80c85b54
Unverified
Commit
80c85b54
authored
Mar 28, 2024
by
ljarosch
Committed by
GitHub
Mar 28, 2024
Browse files
Merge pull request #420 from aqlaboratory/resolution-fix
Fix resolution field in mmcif_parsing
parents
df8a002d
732d283a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
openfold/data/mmcif_parsing.py
openfold/data/mmcif_parsing.py
+1
-0
No files found.
openfold/data/mmcif_parsing.py
View file @
80c85b54
...
@@ -347,6 +347,7 @@ def _get_header(parsed_info: MmCIFDict) -> PdbHeader:
...
@@ -347,6 +347,7 @@ def _get_header(parsed_info: MmCIFDict) -> PdbHeader:
try
:
try
:
raw_resolution
=
parsed_info
[
res_key
][
0
]
raw_resolution
=
parsed_info
[
res_key
][
0
]
header
[
"resolution"
]
=
float
(
raw_resolution
)
header
[
"resolution"
]
=
float
(
raw_resolution
)
break
except
ValueError
:
except
ValueError
:
logging
.
debug
(
logging
.
debug
(
"Invalid resolution format: %s"
,
parsed_info
[
res_key
]
"Invalid resolution format: %s"
,
parsed_info
[
res_key
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment