Mercurial > repos > stevecassidy > wrassp
comparison cut_timeseries.py @ 5:0026cd452d0e draft default tip
planemo upload commit 72cee9103c0ae4acb5794afaed179bea2c729f2c-dirty
| author | stevecassidy |
|---|---|
| date | Sat, 11 Mar 2017 21:37:57 -0500 |
| parents | f188eb0b526d |
| children |
comparison
equal
deleted
inserted
replaced
| 4:22e59a5808e8 | 5:0026cd452d0e |
|---|---|
| 92 | 92 |
| 93 | 93 |
| 94 headers,rows = cut(zip(tsidents, tsfiles), args.segment_list, args.cutat) | 94 headers,rows = cut(zip(tsidents, tsfiles), args.segment_list, args.cutat) |
| 95 | 95 |
| 96 with open(args.output_path, 'w') as out: | 96 with open(args.output_path, 'w') as out: |
| 97 writer = csv.writer(out) | 97 writer = csv.writer(out, dialect=csv.excel_tab) |
| 98 writer.writerow(headers) | 98 writer.writerow(headers) |
| 99 for row in rows: | 99 for row in rows: |
| 100 writer.writerow(row) | 100 writer.writerow(row) |
