# HG changeset patch # User greg # Date 1520861163 14400 # Node ID dd0f1b7528aaa0450d661dad2b50da3bb6db5ec3 # Parent afe6d8bac0c0d8389637275ed34ef66ce3ae4ca6 Uploaded diff -r afe6d8bac0c0 -r dd0f1b7528aa insect_phenology_model.xml --- 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']]> +--output '$output' +&>ipm_log.txt; +if [[ $? -ne 0 ]]; then + cp ipm_log.txt '$output'; + exit 1; +fi]]>