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
56f0a8a0
Commit
56f0a8a0
authored
Oct 29, 2021
by
Gustaf Ahdritz
Browse files
Remove warning
parent
9d4c9357
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
openfold/data/data_pipeline.py
openfold/data/data_pipeline.py
+0
-1
openfold/data/templates.py
openfold/data/templates.py
+1
-1
No files found.
openfold/data/data_pipeline.py
View file @
56f0a8a0
...
@@ -420,7 +420,6 @@ class DataPipeline:
...
@@ -420,7 +420,6 @@ class DataPipeline:
if
(
template_features
[
"template_aatype"
].
shape
[
0
]
==
0
):
if
(
template_features
[
"template_aatype"
].
shape
[
0
]
==
0
):
template_features
=
empty_template_feats
(
len
(
input_sequence
))
template_features
=
empty_template_feats
(
len
(
input_sequence
))
msa_features
=
self
.
_process_msa_feats
(
alignment_dir
)
msa_features
=
self
.
_process_msa_feats
(
alignment_dir
)
return
{
**
mmcif_feats
,
**
template_features
,
**
msa_features
}
return
{
**
mmcif_feats
,
**
template_features
,
**
msa_features
}
...
...
openfold/data/templates.py
View file @
56f0a8a0
...
@@ -131,7 +131,7 @@ def _is_after_cutoff(
...
@@ -131,7 +131,7 @@ def _is_after_cutoff(
else
:
else
:
# Since this is just a quick prefilter to reduce the number of mmCIF files
# Since this is just a quick prefilter to reduce the number of mmCIF files
# we need to parse, we don't have to worry about returning True here.
# we need to parse, we don't have to worry about returning True here.
logging
.
warning
(
logging
.
info
(
"Template structure not in release dates dict: %s"
,
pdb_id
"Template structure not in release dates dict: %s"
,
pdb_id
)
)
return
False
return
False
...
...
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