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
ca7ba44c
Unverified
Commit
ca7ba44c
authored
Apr 10, 2023
by
Gustaf Ahdritz
Committed by
GitHub
Apr 10, 2023
Browse files
Merge pull request #292 from jonathanking/jonathanking-cameo-maxseqlen
Fix comparison for max_seqlen when downloading CAMEO.
parents
296cd7c6
bdbfef1d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
scripts/download_cameo.py
scripts/download_cameo.py
+2
-3
No files found.
scripts/download_cameo.py
View file @
ca7ba44c
...
@@ -57,8 +57,7 @@ def main(args):
...
@@ -57,8 +57,7 @@ def main(args):
seq
=
mmcif_object
.
chain_to_seqres
[
chain_id
]
seq
=
mmcif_object
.
chain_to_seqres
[
chain_id
]
if
(
args
.
max_seqlen
>
0
):
if
(
args
.
max_seqlen
>
0
and
len
(
seq
)
>
args
.
max_seqlen
):
if
(
len
(
seq
)
>
len
(
seq
)):
continue
continue
fasta_file
=
'
\n
'
.
join
([
fasta_file
=
'
\n
'
.
join
([
...
...
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