From 1b413f5ba278a385b2708795bcbfd09934dea219 Mon Sep 17 00:00:00 2001 From: Justin Kitzes Date: Mon, 4 Mar 2013 10:48:38 -0800 Subject: [PATCH] Add capitalization correction to loop function --- python/mean_sightings-full.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/mean_sightings-full.py b/python/mean_sightings-full.py index c9bddd4..a76c416 100755 --- a/python/mean_sightings-full.py +++ b/python/mean_sightings-full.py @@ -36,6 +36,9 @@ def get_sightings_loop(filename, focusanimal): # Load table tab = ml.csv2rec(filename) + # Standardize capitalization of focusanimal + focusanimal = focusanimal.capitalize() + # Loop through all records, countings recs and animals totalrecs = 0 totalcount = 0 -- 2.26.2