Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2020-11-02 18:28:32 +01:00
parent 6d34de641b
commit 0761d4d203
2 changed files with 5 additions and 2 deletions

View File

@@ -3680,8 +3680,11 @@ def interactive_chart(id=0,promember=0,intervaldata = {}):
return [script,div]
def interactive_chart_video(videodata):
try:
spm = videodata['spm']
except KeyError:
return "","No SPM data"
spm = videodata['spm']
time = range(len(spm))
data = zip(time,spm)