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
FastFold
Commits
29f11deb
"...git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "038fc48ac0dd50e0ec5483809e15b316e8806e12"
Unverified
Commit
29f11deb
authored
Jan 15, 2023
by
shenggan
Committed by
GitHub
Jan 15, 2023
Browse files
fix when hit.sum_probs is none (#137)
parent
a14f6962
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
fastfold/data/templates.py
fastfold/data/templates.py
+4
-1
No files found.
fastfold/data/templates.py
View file @
29f11deb
...
...
@@ -866,6 +866,9 @@ def _process_single_hit(
kalign_binary_path
=
kalign_binary_path
,
_zero_center_positions
=
_zero_center_positions
,
)
if
hit
.
sum_probs
is
None
:
features
[
'template_sum_probs'
]
=
[
0
]
else
:
features
[
"template_sum_probs"
]
=
[
hit
.
sum_probs
]
# It is possible there were some errors when parsing the other chains in the
...
...
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