comparison toolRPViz.py @ 20:f3a219de2d1b draft

planemo upload commit 87db86a34f2d92eb2c9756bf9ee53ae2970554d5-dirty
author pablocarb
date Thu, 13 Jun 2019 09:00:26 -0400
parents dbc40b306014
children cb029043c1d6
comparison
equal deleted inserted replaced
19:dbc40b306014 20:f3a219de2d1b
35 html = res['data']['html'] 35 html = res['data']['html']
36 with open(outfile, 'w') as h: 36 with open(outfile, 'w') as h:
37 h.write(html) 37 h.write(html)
38 print( 'Success!') 38 print( 'Success!')
39 39
40 def testHTML(f='outfile.html', outfile): 40 def testHTML(f, outfile):
41 content = open(f).read() 41 content = open(f).read()
42 with open(outfile, 'w') as h: 42 with open(outfile, 'w') as h:
43 outfile.write(content) 43 outfile.write(content)
44 44
45 45