Commits

Davide Cittaro committed 44f5ef4

another fix

  • Participants
  • Parent commits 26cbf13

Comments (0)

Files changed (1)

File vcf2table.py

     elif not ad:
       ad = ['0,0']  
     else:
-      s_data = [genotype] + ','.join([str(x) for x in ad])
+      s_data = [genotype , ','.join([str(x) for x in ad])]
     line = line + s_data
   # get effects
   line = line + get_efflist(record.INFO['EFF'])
     ws.cell("%s%s" % (col, row)).value = f
 
 ws = wb.create_sheet()
-wb.save(filename = fileout)
+wb.save(filename = fileout)