diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-05-23 16:43:05 -0400 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-05-23 16:43:05 -0400 |
| commit | f19f2b809a015dcd6709788766b1a040657d0dfd (patch) | |
| tree | 552e1db43a9d79f63c871f45be067481a16e3651 /app/main/routes.py | |
| parent | Move js to separate files (diff) | |
| download | AnnotateChange-f19f2b809a015dcd6709788766b1a040657d0dfd.tar.gz AnnotateChange-f19f2b809a015dcd6709788766b1a040657d0dfd.zip | |
Move load_data_for_chart to utils
Diffstat (limited to 'app/main/routes.py')
| -rw-r--r-- | app/main/routes.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/main/routes.py b/app/main/routes.py index 60dd6e1..d249c5c 100644 --- a/app/main/routes.py +++ b/app/main/routes.py @@ -9,7 +9,7 @@ from app import db from app.decorators import login_required from app.main import bp from app.models import Annotation, Task -from app.main.datasets import load_data_for_chart +from app.utils.datasets import load_data_for_chart RUBRIC = """ <i>Please mark all the points in the time series where an <b>abrupt change</b> @@ -99,7 +99,7 @@ def task(task_id): if task.done: flash("It's not possible to edit annotations at the moment.") return redirect(url_for("main.index")) - data = load_data_for_chart(task.dataset.name) + data = load_data_for_chart(task.dataset.name, task.dataset.md5sum) return render_template( "annotate/index.html", title="Annotate %s" % task.dataset.name, |
