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
7f12c2a7
"lib/bindings/python/vscode:/vscode.git/clone" did not exist on "ea78a42459e3ea8901273f902679b31ff9dc351d"
Unverified
Commit
7f12c2a7
authored
Sep 19, 2023
by
Dingquan Yu
Committed by
GitHub
Sep 19, 2023
Browse files
Update run_pretrained_openfold.py
parent
9a679b31
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
run_pretrained_openfold.py
run_pretrained_openfold.py
+2
-7
No files found.
run_pretrained_openfold.py
View file @
7f12c2a7
...
@@ -70,16 +70,11 @@ def precompute_alignments(tags, seqs, alignment_dir, args, is_multimer):
...
@@ -70,16 +70,11 @@ def precompute_alignments(tags, seqs, alignment_dir, args, is_multimer):
with
open
(
tmp_fasta_path
,
"w"
)
as
fp
:
with
open
(
tmp_fasta_path
,
"w"
)
as
fp
:
fp
.
write
(
f
">
{
tag
}
\n
{
seq
}
"
)
fp
.
write
(
f
">
{
tag
}
\n
{
seq
}
"
)
if
is_multimer
:
local_alignment_dir
=
os
.
path
.
join
(
local_alignment_dir
=
os
.
path
.
join
(
alignment_dir
,
os
.
path
.
join
(
alignment_dir
,
tag
),
)
else
:
local_alignment_dir
=
os
.
path
.
join
(
alignment_dir
,
alignment_dir
,
os
.
path
.
join
(
alignment_dir
,
tag
),
os
.
path
.
join
(
alignment_dir
,
tag
),
)
)
if
(
args
.
use_precomputed_alignments
is
None
and
not
os
.
path
.
isdir
(
local_alignment_dir
)):
if
(
args
.
use_precomputed_alignments
is
None
and
not
os
.
path
.
isdir
(
local_alignment_dir
)):
logger
.
info
(
f
"Generating alignments for
{
tag
}
..."
)
logger
.
info
(
f
"Generating alignments for
{
tag
}
..."
)
...
...
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