projects
/
swc-testing-nose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86b33b2
)
Add capitalization correction to loop function
author
Justin Kitzes
<jkitzes@berkeley.edu>
Mon, 4 Mar 2013 18:48:38 +0000
(10:48 -0800)
committer
W. Trevor King
<wking@tremily.us>
Fri, 8 Nov 2013 16:58:57 +0000
(08:58 -0800)
python/mean_sightings-full.py
patch
|
blob
|
history
diff --git
a/python/mean_sightings-full.py
b/python/mean_sightings-full.py
index c9bddd4aa3fe2b81414b373be605c4c4f7a45e88..a76c416ce756e5caf34e3dbc00acf95c46a91004 100755
(executable)
--- 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