Skip to content

Commit

Permalink
fix(bagit): change output tsv names
Browse files Browse the repository at this point in the history
  • Loading branch information
giangbui committed Mar 28, 2018
1 parent 3b7be5c commit c368680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peregrine/utils/pybdbag.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def create_bdbag(bag_info, payload, max_row=1000):
for dict_row in json_data:
header_set.update(dict_row.keys())

with open(bag_path + '/data/manifest_' + node_name+ '.tsv', 'w') as tsvfile:
with open(bag_path + '/data/' + node_name+ '.tsv', 'w') as tsvfile:
writer = csv.writer(tsvfile, delimiter='\t')
row = []
for h in header_set:
Expand Down

0 comments on commit c368680

Please sign in to comment.