# HG changeset patch # User greg # Date 1543333126 18000 # Node ID f0d173b1abcf45cad0a34fd2bb0a6f6f1a647dc3 # Parent 1ce61b5b58d52074194f5faab4b42bec903d6dd1 Uploaded diff -r 1ce61b5b58d5 -r f0d173b1abcf validate_temperature_data.py --- a/validate_temperature_data.py Tue Nov 27 10:17:39 2018 -0500 +++ b/validate_temperature_data.py Tue Nov 27 10:38:46 2018 -0500 @@ -157,11 +157,10 @@ if int(doy) != (last_doy + 1): accumulated_msgs = add_error_msg(accumulated_msgs, "Line %d contains a DOY (%s) that is not conexcutive." % (i, doy)) stop_error(accumulated_msgs) - else: - last_doy += 1 except Exception: # The error for an invalid integer was captured above. pass + last_doy += 1 tmin = items[4].strip() accumulated_msgs = validate_decimal(i, tmin, accumulated_msgs, "tmin") tmax = items[5].strip()