Private
Public Access
1
0

removing older compare functions

This commit is contained in:
Sander Roosendaal
2021-12-28 10:14:53 +01:00
parent 06945b68c3
commit f7868789e2
5 changed files with 11 additions and 166 deletions

View File

@@ -1291,6 +1291,15 @@ class AnalysisChoiceForm(forms.Form):
label='Include Rest Strokes')
def __init__(self, *args, **kwargs):
super(AnalysisChoiceForm, self).__init__(*args, **kwargs)
if 'initial' in kwargs and kwargs['initial']['function'] == 'compare':
self.fields['xaxis'].initial = 'time'
self.fields['yaxis1'].initial = 'hr'
self.fields['plottype'].initial = 'line'
class BoxPlotChoiceForm(forms.Form):
yparam = forms.ChoiceField(choices=parchoices,initial='spm',