Mercurial > repos > bgruening > uniprot_rest_interface
comparison uniprot.py @ 10:5e57b0a0e8d0 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:00 +0000 |
| parents | f31d8d59ffb6 |
| children |
comparison
equal
deleted
inserted
replaced
| 9:f31d8d59ffb6 | 10:5e57b0a0e8d0 |
|---|---|
| 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") |
