comparison toolOptBioDes.py @ 9:f9aef3df1fc8 draft

planemo upload commit 6a252d04f4b2f79606ab6679b6a91f957e33da7b-dirty
author pablocarb
date Thu, 02 May 2019 10:24:13 -0400
parents 6572347b3e1a
children 6a1fbacdfaf5
comparison
equal deleted inserted replaced
8:6572347b3e1a 9:f9aef3df1fc8
41 with open(outfile, 'w') as h: 41 with open(outfile, 'w') as h:
42 cw = csv.writer(h) 42 cw = csv.writer(h)
43 cw.writerow( res['data']['names'] ) 43 cw.writerow( res['data']['names'] )
44 for row in M: 44 for row in M:
45 cw.writerow( row ) 45 cw.writerow( row )
46 with open(diagfile. 'w') as h: 46 with open(diagfile, 'w') as h:
47 cw = csv.writer(h) 47 cw = csv.writer(h)
48 cw.writerow( ['Size', 'Efficiency'] ) 48 cw.writerow( ['Size', 'Efficiency'] )
49 cw.writerow( [res['data']['libsize'], res['data']['J']] ) 49 cw.writerow( [res['data']['libsize'], res['data']['J']] )
50 print( 'Size:', res['data']['libsize'], 'Efficiency:', res['data']['J'] ) 50 print( 'Size:', res['data']['libsize'], 'Efficiency:', res['data']['J'] )
51 51