summaryrefslogtreecommitdiff
path: root/circulate/sslc_science.py
diff options
context:
space:
mode:
Diffstat (limited to 'circulate/sslc_science.py')
-rw-r--r--circulate/sslc_science.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/circulate/sslc_science.py b/circulate/sslc_science.py
index 83a52ae..d3b25b5 100644
--- a/circulate/sslc_science.py
+++ b/circulate/sslc_science.py
@@ -11,7 +11,12 @@ for record in open('sslc1.txt'):
score_str = fields[6].strip()
- score = int(score_str) if score_str != 'AA' else 0
+# score = int(score_str) if score_str != 'AA' else 0
+
+ if score_str != 'AA':
+ score = int(score_str)
+ else:
+ score = 0
if score > 90:
science[region_code] += 1