diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-07-31 16:28:31 +0100 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-07-31 16:28:31 +0100 |
| commit | 1fd0dd8b28bac19431a8c577ee78ea655882ad82 (patch) | |
| tree | 5345d5070a8a472b50538f05349a27751ef87ffa /app/main/routes.py | |
| parent | Add demo data to repo (diff) | |
| download | AnnotateChange-1fd0dd8b28bac19431a8c577ee78ea655882ad82.tar.gz AnnotateChange-1fd0dd8b28bac19431a8c577ee78ea655882ad82.zip | |
Add support for multidimensional datasets
Diffstat (limited to 'app/main/routes.py')
| -rw-r--r-- | app/main/routes.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/main/routes.py b/app/main/routes.py index ad78f27..02ec7c9 100644 --- a/app/main/routes.py +++ b/app/main/routes.py @@ -18,7 +18,8 @@ logger = logging.getLogger(__name__) RUBRIC = """ Please mark the point(s) in the time series where an <b>abrupt change</b> in the behaviour of the series occurs. The goal is to define segments of the time - series that are separated by places where these abrupt changes occur. + series that are separated by places where these abrupt changes occur. Recall + that it is also possible for there to be no such changes. <br> """ @@ -112,10 +113,12 @@ def annotate(task_id): flash( "An internal error occurred loading this dataset, the admin has been notified. Please try again later. We apologise for the inconvenience." ) + is_multi = len(data["chart_data"]["values"]) > 1 return render_template( "annotate/index.html", title=task.dataset.name.title(), identifier=task.id, data=data, rubric=RUBRIC, + is_multi=is_multi, ) |
