Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(449)

Unified Diff: webrtc/modules/audio_processing/test/py_quality_assessment/apm_quality_assessment_export.py

Issue 2723703002: Evaluation scores export library and CSS file for the exported HTML file (Closed)
Patch Set: merge Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_processing/test/py_quality_assessment/apm_quality_assessment_export.py
diff --git a/webrtc/modules/audio_processing/test/py_quality_assessment/apm_quality_assessment_export.py b/webrtc/modules/audio_processing/test/py_quality_assessment/apm_quality_assessment_export.py
index dcfea944a7223977c08db754215a19926f7fdc0a..1b2fe36c523dfdc4c11c21e6e032f27162764032 100755
--- a/webrtc/modules/audio_processing/test/py_quality_assessment/apm_quality_assessment_export.py
+++ b/webrtc/modules/audio_processing/test/py_quality_assessment/apm_quality_assessment_export.py
@@ -146,10 +146,10 @@ def main():
}
# Export.
- exporter = export.HtmlExport(
- output_path=args.output_dir,
- output_filename=_GetOutputFilename(args.filename_suffix))
- output_filepath = exporter.export(scores)
+ output_filepath = os.path.join(args.output_dir, _GetOutputFilename(
+ args.filename_suffix))
+ exporter = export.HtmlExport(output_filepath)
+ exporter.export(scores)
logging.info('output file successfully written in %s', output_filepath)
sys.exit(0)

Powered by Google App Engine
This is Rietveld 408576698