Mercurial > hg > webaudioevaluationtool
comparison scripts/score_plot.py @ 781:18dc725bb5c2
Scripts: generate_report.py fix (wrong directory passed on to score_plot.py)
author | Brecht De Man <BrechtDeMan@users.noreply.github.com> |
---|---|
date | Tue, 08 Dec 2015 22:13:14 +0100 |
parents | e66434e0f573 |
children | 43801b3d6131 |
comparison
equal
deleted
inserted
replaced
780:17b550310734 | 781:18dc725bb5c2 |
---|---|
113 | 113 |
114 | 114 |
115 # CODE | 115 # CODE |
116 | 116 |
117 # get every csv file in folder | 117 # get every csv file in folder |
118 for file in os.listdir(rating_folder): # You have to put this in folder where rating csv files are. | 118 for file in os.listdir(rating_folder): |
119 if file.endswith(".csv"): | 119 if file.endswith(".csv"): |
120 page_name = file[:-4] # file name (without extension) is page ID | 120 page_name = file[:-4] # file name (without extension) is page ID |
121 | 121 |
122 # get header | 122 # get header |
123 with open(rating_folder+file, 'rb') as readfile: # read this csv file | 123 with open(rating_folder+file, 'rb') as readfile: # read this csv file |