diff loompy_to_tsv.py @ 11:3d748954434b 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:21:03 +0000
parents 6db1b06e6bbb
children
line wrap: on
line diff
--- a/loompy_to_tsv.py	Sat May 07 19:55:59 2022 +0000
+++ b/loompy_to_tsv.py	Wed Jun 22 07:21:03 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]