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"
POSITIVE = "positive"
NEGATIVE = "negative"
UNDERTERMINED = "undetermined"
UNDETERMINED = "undetermined"
# Total
......
......@@ -6,7 +6,7 @@ from apps.exportables.constants import (
NEGATIVE,
POSITIVE,
TOTAL,
UNDERTERMINED
UNDETERMINED
)
......@@ -14,7 +14,7 @@ def generate_initial_counts():
return {
POSITIVE: 0,
NEGATIVE: 0,
UNDERTERMINED: 0,
UNDETERMINED: 0,
TOTAL: 0
}
......@@ -33,7 +33,7 @@ def generate_initial_group_counts():
def map_outcome_value(outcome):
if outcome is None:
return UNDERTERMINED
return UNDETERMINED
if outcome:
return POSITIVE
return NEGATIVE
......
......@@ -17,7 +17,7 @@ from apps.exportables.constants import (
POSITIVE,
SEX,
TOTAL,
UNDERTERMINED
UNDETERMINED
)
from apps.exportables.utils import (
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