changeset 1854:2d3ce9d4ca5e

Probably solves #1617
author Giulio Moro <giuliomoro@users.noreply.github.com>
date Tue, 23 Feb 2016 12:22:28 +0000
parents 8fad6ccb12d2
children 03b876101f05
files scripts/timeline_view_movement.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/timeline_view_movement.py	Tue Feb 23 11:56:11 2016 +0000
+++ b/scripts/timeline_view_movement.py	Tue Feb 23 12:22:28 2016 +0000
@@ -67,7 +67,7 @@
         # ONE TIMELINE PER PAGE - make new plot per page
 
         # get list of all page names
-        for audioholder in root.findall("./audioholder"):   # iterate over pages
+        for audioholder in root.findall("./page"):   # iterate over pages
             page_name = audioholder.get('id')               # get page name
             plot_empty = True                               # check if any data is plotted
             
@@ -308,4 +308,4 @@
             
                 plt.savefig(timeline_folder+subject_id+"-"+page_name+".pdf", bbox_inches='tight')
                 plt.close()
-            
\ No newline at end of file
+