diff bio2srr.py @ 15:0a3943480712

planemo upload for repository https://toolrepo.galaxytrakr.org/view/jpayne/bioproject_to_srr_2/556cac4fb538
author jpayne
date Tue, 21 May 2024 01:05:30 -0400
parents fc77995bc4da
children
line wrap: on
line diff
--- 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__":