Skip to content

Commit f0b52de

Browse files
committed
Update export_data_files to order the points
1 parent a0d7a5b commit f0b52de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

experiments/management/commands/export_data_files.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def handle(self, *args, **kwargs):
2020

2121
for execution in executions:
2222
print "Load points for execution %d" % execution.id
23-
points = Point.objects.filter(datetime__range=(execution.start, execution.end))
23+
points = Point.objects.filter(datetime__range=(execution.start, execution.end)).order_by('created_at')
2424

2525
# exclude pause points
2626
for pause in execution.pause_set.all():

0 commit comments

Comments
 (0)