comparison insect_phenology_model.xml @ 116:88b409324611 draft

Uploaded
author greg
date Tue, 29 May 2018 13:28:32 -0400
parents 3b59d42b80e8
children e0bd1edbd8e4
comparison
equal deleted inserted replaced
115:3b59d42b80e8 116:88b409324611
103 <option value="yes">Yes</option> 103 <option value="yes">Yes</option>
104 </param> 104 </param>
105 <when value="no"/> 105 <when value="no"/>
106 <when value="yes"> 106 <when value="yes">
107 <param name="start_date" type="text" value="" label="Start date" help="Format must be yyyy-mm-dd"> 107 <param name="start_date" type="text" value="" label="Start date" help="Format must be yyyy-mm-dd">
108 <validator type="expression" message="Date must have the format yyyy-mm-dd">len(value.split('=')[0])==4 and isinstance(value.split('=')[0], int) len(value.split('=')[1])==2 and isinstance(value.split('=')[1], int) and len(value.split('=')[2])==2 and isinstance(value.split('=')[2], int)</validator> 108 <validator type="expression" message="Date must have the format yyyy-mm-dd">len(value.split('-')[0])==4 and int(value.split('-')[0]) and len(value.split('-')[1])==2 and int(value.split('-')[1]) and len(value.split('-')[2])==2 and int(value.split('-')[2])</validator>
109 </param> 109 </param>
110 <param name="end_date" type="text" value="" label="End date" help="Format must be yyyy-mm-dd"> 110 <param name="end_date" type="text" value="" label="End date" help="Format must be yyyy-mm-dd">
111 <validator type="expression" message="Date must have the format yyyy-mm-dd">len(value.split('=')[0])==4 and isinstance(value.split('=')[0], int) len(value.split('=')[1])==2 and isinstance(value.split('=')[1], int) and len(value.split('=')[2])==2 and isinstance(value.split('=')[2], int)</validator> 111 <validator type="expression" message="Date must have the format yyyy-mm-dd">len(value.split('-')[0])==4 and int(value.split('-')[0]) and len(value.split('-')[1])==2 and int(value.split('-')[1]) and len(value.split('-')[2])==2 and int(value.split('-')[2])</validator>
112 </param> 112 </param>
113 </when> 113 </when>
114 </conditional> 114 </conditional>
115 <param name="plot_generations_separately" type="select" label="Plot generations separately?"> 115 <param name="plot_generations_separately" type="select" label="Plot generations separately?">
116 <option value="yes" selected="True">Yes</option> 116 <option value="yes" selected="True">Yes</option>