We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d0d880c + f8a941e commit 5701ac9Copy full SHA for 5701ac9
2 files changed
app.py
@@ -133,8 +133,11 @@ def get_status(job_id):
133
@app.route("/outliers/similar-aliases", methods=["GET"])
134
def see_similar_aliases():
135
"""View aliases that are (syntactically) similar to other aliases of the same entity."""
136
- run_path_param = request.args.get("run_path", "")
137
- return render_template("similar_aliases.html", run_path=run_path_param)
+ run_path_param = request.args.get("run_path")
+ if not run_path_param:
138
+ return redirect(url_for("visualisations_page"))
139
+
140
+ return render_template("similar-aliases.html", run_path=run_path_param)
141
142
@app.route("/outliers/unbalanced-aliases", methods=["GET"])
143
def see_unbalanced_aliases():
templates/similar_aliases.html templates/similar-aliases.htmltemplates/similar_aliases.html renamed to templates/similar-aliases.html
0 commit comments