# HG changeset patch # User jpayne # Date 1716267930 14400 # Node ID 0a3943480712639591fed10735402415e8d6a0c0 # Parent 18e1cb6018fd2195ad3b6bd82ba6736a87af755c planemo upload for repository https://toolrepo.galaxytrakr.org/view/jpayne/bioproject_to_srr_2/556cac4fb538 diff -r 18e1cb6018fd -r 0a3943480712 bio2srr.py --- a/bio2srr.py Mon May 20 02:25:23 2024 -0400 +++ b/bio2srr.py Tue May 21 01:05:30 2024 -0400 @@ -257,7 +257,8 @@ log(f"Writing {len(accessions)} unique accessions to accessions.txt") with open("accessions.txt", "w") as f: - f.writelines(accessions) + for accession in accessions: + f.write(accession + "\n") if __name__ == "__main__": diff -r 18e1cb6018fd -r 0a3943480712 test-data/accessions.txt --- a/test-data/accessions.txt Mon May 20 02:25:23 2024 -0400 +++ b/test-data/accessions.txt Tue May 21 01:05:30 2024 -0400 @@ -1,1 +1,5 @@ -SRR13160357SRR13160358SRR13160359SRR13160360SRR13167188 \ No newline at end of file +SRR13160357 +SRR13160358 +SRR13160359 +SRR13160360 +SRR13167188