Mercurial > hg > webaudioevaluationtool
comparison scripts/generate_report.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 | 17b550310734 |
children | 397f19747594 |
comparison
equal
deleted
inserted
replaced
780:17b550310734 | 781:18dc725bb5c2 |
---|---|
114 | 114 |
115 # generate images for later use | 115 # generate images for later use |
116 if render_figures: | 116 if render_figures: |
117 subprocess.call("python timeline_view_movement.py '"+folder_name+"'", shell=True) | 117 subprocess.call("python timeline_view_movement.py '"+folder_name+"'", shell=True) |
118 subprocess.call("python score_parser.py '"+folder_name+"'", shell=True) | 118 subprocess.call("python score_parser.py '"+folder_name+"'", shell=True) |
119 subprocess.call("python score_plot.py '"+folder_name+"'", shell=True) | 119 subprocess.call("python score_plot.py '"+folder_name+"ratings/'", shell=True) |
120 | 120 |
121 # get every XML file in folder | 121 # get every XML file in folder |
122 files_list = os.listdir(folder_name) | 122 files_list = os.listdir(folder_name) |
123 for file in files_list: # iterate over all files in files_list | 123 for file in files_list: # iterate over all files in files_list |
124 if file.endswith(".xml"): # check if XML file | 124 if file.endswith(".xml"): # check if XML file |