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:
4d3dd81
)
Replace Owl with focusanimal variable
author
Justin Kitzes
<jkitzes@berkeley.edu>
Mon, 4 Mar 2013 18:40:06 +0000
(10:40 -0800)
committer
W. Trevor King
<wking@tremily.us>
Fri, 8 Nov 2013 16:58:56 +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 1b24f35244e707942969bbc553eadfe6ffa963bd..c9bddd4aa3fe2b81414b373be605c4c4f7a45e88 100755
(executable)
--- a/
python/mean_sightings-full.py
+++ b/
python/mean_sightings-full.py
@@
-40,7
+40,7
@@
def get_sightings_loop(filename, focusanimal):
totalrecs = 0
totalcount = 0
for rec in tab:
- if rec['animal'] ==
'Owl'
:
+ if rec['animal'] ==
focusanimal
:
totalrecs += 1
totalcount += rec['count']