Mercurial > repos > bgruening > uniprot_rest_interface
comparison uniprot.py @ 11:60f7e2a6b9c7 draft default tip
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/uniprot_rest_interface commit daea630529977907a5fcfec24baeb920e41a4dd2
author | bgruening |
---|---|
date | Thu, 31 Jul 2025 17:11:09 +0000 |
parents | 95fb5712344f |
children |
comparison
equal
deleted
inserted
replaced
10:95fb5712344f | 11:60f7e2a6b9c7 |
---|---|
290 print(f"got {len(results)} results so far") | 290 print(f"got {len(results)} results so far") |
291 if len(query): | 291 if len(query): |
292 sleep(5) | 292 sleep(5) |
293 | 293 |
294 if not isinstance(results, str): | 294 if not isinstance(results, str): |
295 results = "\n".join(results) | 295 if args.format in ["fasta", "txt"]: |
296 results = "".join(results) | |
297 else: | |
298 results = "\n".join(results) | |
296 args.out.write(f"{results}\n") | 299 args.out.write(f"{results}\n") |