Skip to content

Commit c0cdf8c

Browse files
committed
minor typos
1 parent 4789922 commit c0cdf8c

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

src/tlo/methods/care_of_women_during_pregnancy.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -70,19 +70,19 @@ def __init__(self, name=None, resourcefilepath=None):
7070

7171
# CARE SEEKING...
7272
'prob_seek_anc2': Parameter(
73-
Types.LIST, 'Probability a women who is not predicted to attended four or more ANC visits will attend '
73+
Types.LIST, 'Probability a woman who is not predicted to attended four or more ANC visits will attend '
7474
'ANC2'),
7575
'prob_seek_anc3': Parameter(
76-
Types.LIST, 'Probability a women who is not predicted to attended four or more ANC visits will attend '
76+
Types.LIST, 'Probability a woman who is not predicted to attended four or more ANC visits will attend '
7777
'ANC3'),
7878
'prob_seek_anc5': Parameter(
79-
Types.LIST, 'Probability a women who is predicted to attend four or more ANC visits will attend ANC5'),
79+
Types.LIST, 'Probability a woman who is predicted to attend four or more ANC visits will attend ANC5'),
8080
'prob_seek_anc6': Parameter(
81-
Types.LIST, 'Probability a women who is predicted to attend four or more ANC visits will attend ANC6'),
81+
Types.LIST, 'Probability a woman who is predicted to attend four or more ANC visits will attend ANC6'),
8282
'prob_seek_anc7': Parameter(
83-
Types.LIST, 'Probability a women who is predicted to attend four or more ANC visits will attend ANC7'),
83+
Types.LIST, 'Probability a woman who is predicted to attend four or more ANC visits will attend ANC7'),
8484
'prob_seek_anc8': Parameter(
85-
Types.LIST, 'Probability a women who is predicted to attend four or more ANC visits will attend ANC8'),
85+
Types.LIST, 'Probability a woman who is predicted to attend four or more ANC visits will attend ANC8'),
8686

8787
# TREATMENT EFFECTS...
8888
'effect_of_ifa_for_resolving_anaemia': Parameter(

src/tlo/methods/labour.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2733,7 +2733,7 @@ def apply(self, mother_id):
27332733
# =============================================== BIRTH ====================================================
27342734
# If the mother is alive and still pregnant OR has died but the foetus has survived we generate a child.
27352735

2736-
# Live women are scheduled to move to the postpartum event to determine if they experiences any additional
2736+
# Live women are scheduled to move to the postpartum event to determine if they experience any additional
27372737
# complications
27382738

27392739
if (person.is_alive and person.is_pregnant and not person.la_intrapartum_still_birth) or \

src/tlo/methods/pregnancy_supervisor.py

+17-17
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def __init__(self, name=None, resourcefilepath=None):
229229
'rr_preterm_labour_multiple_pregnancy': Parameter(
230230
Types.LIST, 'relative risk of early labour onset in women pregnant with twins'),
231231

232-
# ANTENATAL STILLBIRTH
232+
# ANTENATAL STILLBIRTH...
233233
'prob_still_birth_per_month': Parameter(
234234
Types.LIST, 'underlying risk of stillbirth per month without the impact of risk factors'),
235235
'rr_still_birth_ga_41': Parameter(
@@ -381,21 +381,21 @@ def __init__(self, name=None, resourcefilepath=None):
381381
}
382382

383383
PROPERTIES = {
384-
'ps_gestational_age_in_weeks': Property(Types.REAL, 'current gestational age, in weeks, of a womans '
384+
'ps_gestational_age_in_weeks': Property(Types.REAL, 'current gestational age, in weeks, of a woman '
385385
'pregnancy'),
386386
'ps_date_of_anc1': Property(Types.DATE, 'Date first ANC visit is scheduled for'),
387-
'ps_ectopic_pregnancy': Property(Types.CATEGORICAL, 'Whether a womans is experiencing ectopic pregnancy and'
387+
'ps_ectopic_pregnancy': Property(Types.CATEGORICAL, 'Whether a woman is experiencing ectopic pregnancy and'
388388
' its current state',
389389
categories=['none', 'not_ruptured', 'ruptured']),
390-
'ps_multiple_pregnancy': Property(Types.BOOL, 'Whether a womans is pregnant with multiple fetuses'),
391-
'ps_placenta_praevia': Property(Types.BOOL, 'Whether a womans pregnancy will be complicated by placenta'
390+
'ps_multiple_pregnancy': Property(Types.BOOL, 'Whether a woman is pregnant with multiple fetuses'),
391+
'ps_placenta_praevia': Property(Types.BOOL, 'Whether a woman pregnancy will be complicated by placenta'
392392
'praevia'),
393-
'ps_syphilis': Property(Types.BOOL, 'Whether a womans has syphilis during pregnancy'),
393+
'ps_syphilis': Property(Types.BOOL, 'Whether a woman has syphilis during pregnancy'),
394394
'ps_anaemia_in_pregnancy': Property(Types.CATEGORICAL, 'Whether a woman has anaemia in pregnancy and its '
395395
'severity',
396396
categories=['none', 'mild', 'moderate', 'severe']),
397397

398-
'ps_anc4': Property(Types.BOOL, 'Whether this womans is predicted to attend 4 or more antenatal care visits '
398+
'ps_anc4': Property(Types.BOOL, 'Whether this woman is predicted to attend 4 or more antenatal care visits '
399399
'during her pregnancy'),
400400
'ps_abortion_complications': Property(Types.INT, 'Bitset column holding types of abortion complication'),
401401
'ps_prev_spont_abortion': Property(Types.BOOL, 'Whether this woman has had any previous pregnancies end in '
@@ -413,13 +413,13 @@ def __init__(self, name=None, resourcefilepath=None):
413413
'ps_prev_gest_diab': Property(Types.BOOL, 'whether this woman has ever suffered from gestational diabetes '
414414
'during a previous pregnancy'),
415415
'ps_placental_abruption': Property(Types.BOOL, 'Whether this woman is experiencing placental abruption'),
416-
'ps_antepartum_haemorrhage': Property(Types.CATEGORICAL, 'severity of this womans antepartum haemorrhage',
416+
'ps_antepartum_haemorrhage': Property(Types.CATEGORICAL, 'severity of this woman antepartum haemorrhage',
417417
categories=['none', 'mild_moderate', 'severe']),
418418
'ps_premature_rupture_of_membranes': Property(Types.BOOL, 'whether this woman has experience rupture of '
419419
'membranes before the onset of labour. If this is '
420420
'<37 weeks from gestation the woman has preterm '
421421
'premature rupture of membranes'),
422-
'ps_chorioamnionitis': Property(Types.BOOL, 'Whether a womans is experiencing chorioamnionitis'),
422+
'ps_chorioamnionitis': Property(Types.BOOL, 'Whether a woman is experiencing chorioamnionitis'),
423423
'ps_emergency_event': Property(Types.BOOL, 'signifies a woman in undergoing an acute emergency event in her '
424424
'pregnancy- used to consolidated care seeking in the instance of '
425425
'multiple complications')
@@ -541,7 +541,7 @@ def initialise_simulation(self, sim):
541541
'ectopic_pregnancy_death': LinearModel.custom(pregnancy_supervisor_lm.ectopic_pregnancy_death,
542542
parameters=params),
543543

544-
# This equation determines the monthly probability of a women experiencing a miscarriage prior to 28 weeks
544+
# This equation determines the monthly probability of a woman experiencing a miscarriage prior to 28 weeks
545545
# gestation
546546
'spontaneous_abortion': LinearModel.custom(pregnancy_supervisor_lm.spontaneous_abortion, parameters=params),
547547

@@ -556,7 +556,7 @@ def initialise_simulation(self, sim):
556556
# This equation determines the monthly probability of a woman determining anaemia during her pregnancy
557557
'maternal_anaemia': LinearModel.custom(pregnancy_supervisor_lm.maternal_anaemia, module=self),
558558

559-
# This equation determines the monthly probability of a women going into labour before reaching term
559+
# This equation determines the monthly probability of a woman going into labour before reaching term
560560
# gestation (i.e. 37 weeks or more)
561561
'early_onset_labour': LinearModel.custom(pregnancy_supervisor_lm.preterm_labour, module=self),
562562

@@ -568,20 +568,20 @@ def initialise_simulation(self, sim):
568568
# pregnancy which is a strong predictor of antenatal bleeding
569569
'placental_abruption': LinearModel.custom(pregnancy_supervisor_lm.placental_abruption, parameters=params),
570570

571-
# This equation determines the monthly probability of a women developing antepartum haemorrhage. Haemorrhage
571+
# This equation determines the monthly probability of a woman developing antepartum haemorrhage. Haemorrhage
572572
# may only occur in the presence of either praevia or abruption
573573
'antepartum_haem': LinearModel.custom(pregnancy_supervisor_lm.antepartum_haem, parameters=params),
574574

575-
# This equation determines the monthly probability of a women developing gestational diabetes
575+
# This equation determines the monthly probability of a woman developing gestational diabetes
576576
'gest_diab': LinearModel.custom(pregnancy_supervisor_lm.gest_diab, parameters=params),
577577

578-
# This equation determines the monthly probability of a women developing gestational hypertension
578+
# This equation determines the monthly probability of a woman developing gestational hypertension
579579
'gest_htn': LinearModel.custom(pregnancy_supervisor_lm.gest_htn, parameters=params),
580580

581-
# This equation determines the monthly probability of a women developing mild pre-eclampsia
581+
# This equation determines the monthly probability of a woman developing mild pre-eclampsia
582582
'pre_eclampsia': LinearModel.custom(pregnancy_supervisor_lm.pre_eclampsia, module=self),
583583

584-
# This equation determines the monthly probability of a women experiencing an antenatal stillbirth,
584+
# This equation determines the monthly probability of a woman experiencing an antenatal stillbirth,
585585
# pregnancy loss following 28 weeks gestation
586586
'antenatal_stillbirth': LinearModel.custom(pregnancy_supervisor_lm.antenatal_stillbirth, module=self),
587587
}
@@ -642,7 +642,7 @@ def further_on_birth_pregnancy_supervisor(self, mother_id):
642642

643643
if df.at[mother_id, 'is_alive']:
644644

645-
# We reset all womans gestational age when they deliver as they are no longer pregnant
645+
# We reset all women gestational age when they deliver as they are no longer pregnant
646646
df.at[mother_id, 'ps_gestational_age_in_weeks'] = 0
647647
df.at[mother_id, 'ps_date_of_anc1'] = pd.NaT
648648

0 commit comments

Comments
 (0)