Skip to content

Commit eb5113f

Browse files
committed
change param reading
1 parent 92c403f commit eb5113f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/tlo/methods/breast_cancer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ def __init__(self, module, person_id):
791791
def apply(self, person_id, squeeze_factor):
792792
df = self.sim.population.props
793793
hs = self.sim.modules["HealthSystem"]
794-
p = self.parameters
794+
p = self.module.parameters
795795

796796
if not df.at[person_id, 'is_alive']:
797797
return hs.get_blank_appt_footprint()
@@ -867,7 +867,7 @@ def __init__(self, module, person_id):
867867
def apply(self, person_id, squeeze_factor):
868868
df = self.sim.population.props
869869
hs = self.sim.modules["HealthSystem"]
870-
p = self.parameters
870+
p = self.module.parameters
871871

872872
if not df.at[person_id, 'is_alive']:
873873
return hs.get_blank_appt_footprint()
@@ -924,7 +924,7 @@ def __init__(self, module, person_id):
924924
def apply(self, person_id, squeeze_factor):
925925
df = self.sim.population.props
926926
hs = self.sim.modules["HealthSystem"]
927-
p = self.parameters
927+
p = self.module.parameters
928928

929929
if not df.at[person_id, 'is_alive']:
930930
return hs.get_blank_appt_footprint()

0 commit comments

Comments
 (0)