Unverified Commit ca7ba44c authored by Gustaf Ahdritz's avatar Gustaf Ahdritz Committed by GitHub
Browse files

Merge pull request #292 from jonathanking/jonathanking-cameo-maxseqlen

Fix comparison for max_seqlen when downloading CAMEO.
parents 296cd7c6 bdbfef1d
...@@ -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([
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment