diff loompy_to_tsv.py @ 7:4b0adaa31c95 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 7decaee045e15bd71deb3bc46b81aa39caf1ed31
author iuc
date Wed, 22 Jun 2022 07:20:18 +0000
parents c8e4d0b9ae8c
children
line wrap: on
line diff
--- a/loompy_to_tsv.py	Sat May 07 19:55:14 2022 +0000
+++ b/loompy_to_tsv.py	Wed Jun 22 07:20:18 2022 +0000
@@ -20,7 +20,7 @@
 allrows = []
 
 # Build background info for all attributes and layers
-loompyfile = loompy.connect(file)
+loompyfile = loompy.connect(file, mode="r")
 row_attributes = loompyfile.ra.keys()  # List of row attributes
 for row in row_attributes:  # Each list represents rownames for row_attributes
     c_row = loompyfile.ra[row]