changeset 46:0791cca1fc5c draft

Uploaded
author greg
date Mon, 23 Apr 2018 10:33:11 -0400 (2018-04-23)
parents 315c5e1bc44a
children 58a823b1d940
files insect_phenology_model.R
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/insect_phenology_model.R	Mon Apr 23 10:19:06 2018 -0400
+++ b/insect_phenology_model.R	Mon Apr 23 10:33:11 2018 -0400
@@ -402,7 +402,7 @@
         norm_data_frame = norm_data_frame[-c(60),];
     }
     # Set the location to be the station name if the user elected no to enter it.
-    if (is.null(location)) {
+    if (is.null(location) | location=="") {
         location = norm_data_frame$NAME[1];
     }
     if (is.null(input_ytd)) {