Mercurial > hg > syncopation-dataset
comparison Syncopation models/parameter_setter.py @ 32:273450d5980a
tested parameter setting.
author | csong <csong@eecs.qmul.ac.uk> |
---|---|
date | Sun, 12 Apr 2015 23:23:32 +0100 |
parents | 5de1cb45c145 |
children | f5abd2e8cafe |
comparison
equal
deleted
inserted
replaced
30:d9ac6e0d1daf | 32:273450d5980a |
---|---|
107 else: | 107 else: |
108 print 'Error: the weight-sequence needs to be a list of integers.' | 108 print 'Error: the weight-sequence needs to be a list of integers.' |
109 return isValid | 109 return isValid |
110 | 110 |
111 | 111 |
112 if is_Lmax_valid() and is_weight_sequence_valid(): | 112 if is_weight_sequence_valid() and is_Lmax_valid(): |
113 return True | 113 return True |
114 else: | 114 else: |
115 return False | 115 return False |