We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69e5fbd commit fe58cfeCopy full SHA for fe58cfe
group_composition_plot/interactive_RSE_comp_plot.py
@@ -7,6 +7,7 @@
7
import dash_bootstrap_components as dbc
8
import plotly.graph_objs as go
9
import datetime
10
+import re
11
import os
12
import json
13
@@ -409,6 +410,7 @@ def save_submission(
409
410
411
# create a file name for the submission
412
institution_name_strip = institution_name.replace(" ", "_")
413
+ institution_name_strip = re.sub(r'\W+', '', institution_name_strip)
414
submissions_file = os.path.join(
415
submissions_dir, f"{institution_name_strip}_{date}.json"
416
)
@@ -516,4 +518,4 @@ def save_submission(
516
518
prevent_initial_call=True,
517
519
)(save_submission)
520
- app.run_server(debug=True, port=dash_port)
521
+ app.run_server(host='0.0.0.0', port=dash_port)
0 commit comments