diff options
Diffstat (limited to 'uploader/phenotypes')
| -rw-r--r-- | uploader/phenotypes/views.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/uploader/phenotypes/views.py b/uploader/phenotypes/views.py index 2afd8a3..5b6f965 100644 --- a/uploader/phenotypes/views.py +++ b/uploader/phenotypes/views.py @@ -183,6 +183,12 @@ def with_dataset( def view_dataset(# pylint: disable=[unused-argument] species: dict, population: dict, dataset: dict, **kwargs): """View a specific dataset""" + if bool(request.args.get("streamlined_ui")): + # Redirect back to the "View Population" page for the time being. + return redirect(url_for("species.populations.view_population", + species_id=species["SpeciesId"], + population_id=population["Id"])) + with database_connection(app.config["SQL_URI"]) as conn: dataset = dataset_by_id( conn, species["SpeciesId"], population["Id"], dataset["Id"]) |
