# HG changeset patch
# User greg
# Date 1528199571 14400
# Node ID 99e1c1300fcd428a6647b57569e4e16c119fbff6
# Parent 58a823b1d940756caf7cbd96d9b9a9719acb7db8
Uploaded
diff -r 58a823b1d940 -r 99e1c1300fcd insect_phenology_model.xml
--- a/insect_phenology_model.xml Mon Apr 23 13:23:42 2018 -0400
+++ b/insect_phenology_model.xml Tue Jun 05 07:52:51 2018 -0400
@@ -8,6 +8,7 @@
#set output_data_dir = "output_data_dir"
#set output_plots_dir = "output_plots_dir"
#set error_file = $os.path.join($output_data_dir, "04_combined_generations.csv")
+#set custom_date_interval = $custom_date_interval_cond.custom_date_interval
#set life_stages = list()
#set plot_adult_life_stage = $plot_adult_life_stage_cond.plot_adult_life_stage
#set plot_nymph_life_stage = $plot_nymph_life_stage_cond.plot_nymph_life_stage
@@ -51,9 +52,13 @@
--old_nymph_accumulation $old_nymph_accumulation
--oviposition $oviposition
--photoperiod $photoperiod
---replications $replications
--plot_generations_separately $plot_generations_separately
--plot_std_error $plot_std_error
+--replications $replications
+#if str($custom_date_interval) == "yes":
+ --start_date '$custom_date_interval_cond.start_date'
+ --end_date '$custom_date_interval_cond.end_date'
+#end if
--young_nymph_accumulation $young_nymph_accumulation
&>ipm_log.txt;
if [[ $? -ne 0 ]]; then
@@ -92,6 +97,21 @@
+
+
+
+
+
+
+
+
+ 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])
+
+
+ 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])
+
+
+