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
435c164d
"vscode:/vscode.git/clone" did not exist on "07f988116b772d697c21ebe1bd06aad0effcd3be"
Commit
435c164d
authored
Jun 17, 2022
by
Brian Loyal
Browse files
Only use .fa files, not subfolders or other files
parent
3c89c1c7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
run_pretrained_openfold.py
run_pretrained_openfold.py
+2
-1
No files found.
run_pretrained_openfold.py
View file @
435c164d
...
@@ -307,7 +307,8 @@ def main(args):
...
@@ -307,7 +307,8 @@ def main(args):
prediction_dir
=
os
.
path
.
join
(
args
.
output_dir
,
"predictions"
)
prediction_dir
=
os
.
path
.
join
(
args
.
output_dir
,
"predictions"
)
os
.
makedirs
(
prediction_dir
,
exist_ok
=
True
)
os
.
makedirs
(
prediction_dir
,
exist_ok
=
True
)
for
fasta_file
in
os
.
listdir
(
args
.
fasta_dir
):
for
fasta_file
in
[
f
for
f
in
os
.
listdir
(
args
.
fasta_dir
)
if
os
.
path
.
splitext
(
f
)[
1
]
in
[
".fasta"
,
".fa"
]]:
# Gather input sequences
with
open
(
os
.
path
.
join
(
args
.
fasta_dir
,
fasta_file
),
"r"
)
as
fp
:
with
open
(
os
.
path
.
join
(
args
.
fasta_dir
,
fasta_file
),
"r"
)
as
fp
:
data
=
fp
.
read
()
data
=
fp
.
read
()
...
...
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