Commit 3b3dd98c authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

Fix bug with special characters in names of models while writing files based on them.

parent 43f587b2
......@@ -67,6 +67,7 @@ import json
import os
import glob
import csv
from urllib import quote as urllib_quote
from logging import DEBUG
# Remove matplotlib dependency
# It is used on demand during the drawing of a graph
......@@ -1064,7 +1065,8 @@ def model_graph(model_file, output_dir='./graphs/',
# Draw graph
if make_graph:
draw_graph(output_dir, front_places_str,
model_graph_infos['modelName'], *res_1)
urllib_quote(model_graph_info['modelName'], safe=''),
*res_1)
# Export to json file
if make_json:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment