diff rsem.py @ 9:e00a79cf5f8c draft default tip

"planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/rsem commit fdb6ccd340e366ef386d69ff344036a83e479b2f"
author artbio
date Tue, 03 Mar 2020 07:28:39 -0500
parents 49795544dac7
children
line wrap: on
line diff
--- a/rsem.py	Sun Jan 05 16:40:13 2020 -0500
+++ b/rsem.py	Tue Mar 03 07:28:39 2020 -0500
@@ -158,7 +158,7 @@
         if len(rvalb) > 0:
             rval += rvalb
         rval.append('</ul></body></html>')
-        fh = file(dataset.file_name, 'w')
+        fh = open(dataset.file_name, 'w')
         fh.write("\n".join(rval))
         fh.write('\n')
         fh.close()
@@ -270,7 +270,7 @@
         if len(rvalb) > 0:
             rval += rvalb
         rval.append('</ul></body></html>')
-        fh = file(dataset.file_name, 'w')
+        fh = open(dataset.file_name, 'w')
         fh.write("\n".join(rval))
         fh.write('\n')
         fh.close()