Fakultas Ilmu Komputer UI

Commit 68030e72 authored by Jonathan Christopher Jakub's avatar Jonathan Christopher Jakub
Browse files

[REFACTOR] Fix typo

parent 530c624d
Pipeline #47435 passed with stages
in 3 minutes and 13 seconds
...@@ -29,7 +29,7 @@ MALE = "male" ...@@ -29,7 +29,7 @@ MALE = "male"
POSITIVE = "positive" POSITIVE = "positive"
NEGATIVE = "negative" NEGATIVE = "negative"
UNDERTERMINED = "undetermined" UNDETERMINED = "undetermined"
# Total # Total
......
...@@ -6,7 +6,7 @@ from apps.exportables.constants import ( ...@@ -6,7 +6,7 @@ from apps.exportables.constants import (
NEGATIVE, NEGATIVE,
POSITIVE, POSITIVE,
TOTAL, TOTAL,
UNDERTERMINED UNDETERMINED
) )
...@@ -14,7 +14,7 @@ def generate_initial_counts(): ...@@ -14,7 +14,7 @@ def generate_initial_counts():
return { return {
POSITIVE: 0, POSITIVE: 0,
NEGATIVE: 0, NEGATIVE: 0,
UNDERTERMINED: 0, UNDETERMINED: 0,
TOTAL: 0 TOTAL: 0
} }
...@@ -33,7 +33,7 @@ def generate_initial_group_counts(): ...@@ -33,7 +33,7 @@ def generate_initial_group_counts():
def map_outcome_value(outcome): def map_outcome_value(outcome):
if outcome is None: if outcome is None:
return UNDERTERMINED return UNDETERMINED
if outcome: if outcome:
return POSITIVE return POSITIVE
return NEGATIVE return NEGATIVE
......
...@@ -17,7 +17,7 @@ from apps.exportables.constants import ( ...@@ -17,7 +17,7 @@ from apps.exportables.constants import (
POSITIVE, POSITIVE,
SEX, SEX,
TOTAL, TOTAL,
UNDERTERMINED UNDETERMINED
) )
from apps.exportables.utils import ( from apps.exportables.utils import (
generate_initial_counts, generate_initial_counts,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment