diff rsem.py @ 12:ad708409d25e 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 12:28:11 +0000
parents 20e2c68f776a
children
line wrap: on
line diff
--- a/rsem.py	Sun Jan 05 22:07:36 2020 +0000
+++ b/rsem.py	Tue Mar 03 12:28:11 2020 +0000
@@ -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()