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
989f2d93
Unverified
Commit
989f2d93
authored
Dec 15, 2023
by
Dingquan Yu
Committed by
GitHub
Dec 15, 2023
Browse files
Update data_pipeline.py
parent
8d8584ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
openfold/data/data_pipeline.py
openfold/data/data_pipeline.py
+2
-2
No files found.
openfold/data/data_pipeline.py
View file @
989f2d93
...
@@ -1163,7 +1163,7 @@ class DataPipelineMultimer:
...
@@ -1163,7 +1163,7 @@ class DataPipelineMultimer:
chain_fasta_str
=
f
'>
{
chain_id
}
\n
{
sequence
}
\n
'
chain_fasta_str
=
f
'>
{
chain_id
}
\n
{
sequence
}
\n
'
if
chain_alignment_index
is
None
and
not
os
.
path
.
exists
(
chain_alignment_dir
):
if
chain_alignment_index
is
None
and
not
os
.
path
.
exists
(
chain_alignment_dir
):
raise
ValueError
(
f
"Alignments for
{
chain_id
}
not found..."
)
raise
ValueError
(
f
"Alignments for
{
chain_id
}
not found..."
)
with
temp_fasta_file
(
chain_fasta_str
)
as
chain_fasta_path
:
with
temp_fasta_file
(
chain_fasta_str
)
as
chain_fasta_path
:
chain_features
=
self
.
_monomer_data_pipeline
.
process_fasta
(
chain_features
=
self
.
_monomer_data_pipeline
.
process_fasta
(
...
@@ -1351,4 +1351,4 @@ class DataPipelineMultimer:
...
@@ -1351,4 +1351,4 @@ class DataPipelineMultimer:
# Pad MSA to avoid zero-sized extra_msa.
# Pad MSA to avoid zero-sized extra_msa.
np_example
=
pad_msa
(
np_example
,
512
)
np_example
=
pad_msa
(
np_example
,
512
)
return
np_example
return
np_example
\ No newline at end of file
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