changeset 29:dd0f1b7528aa draft

Uploaded
author greg
date Mon, 12 Mar 2018 09:26:03 -0400
parents afe6d8bac0c0
children 0e49e1d1c5a1
files insect_phenology_model.xml
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/insect_phenology_model.xml	Mon Mar 12 09:15:16 2018 -0400
+++ b/insect_phenology_model.xml	Mon Mar 12 09:26:03 2018 -0400
@@ -47,7 +47,12 @@
 --plot_generations_separately $plot_generations_separately
 --plot_std_error $plot_std_error
 --young_nymph_accumulation $young_nymph_accumulation
---output '$output']]></command>
+--output '$output'
+&>ipm_log.txt;
+if [[ $? -ne 0 ]]; then
+    cp ipm_log.txt '$output';
+    exit 1;
+fi]]></command>
     <inputs>
         <param name="input" type="data" format="csv" label="Temperature data" />
         <param name="location" type="text" value="" optional="false" label="Location" />