From: Justin Kitzes Date: Mon, 4 Mar 2013 18:48:38 +0000 (-0800) Subject: Add capitalization correction to loop function X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=1b413f5ba278a385b2708795bcbfd09934dea219;p=swc-testing-nose.git Add capitalization correction to loop function --- 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