File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -166,11 +166,12 @@ def get_population_of_interest_30_to_50(sim):
166
166
167
167
# %% Checks:
168
168
def check_dtypes (sim ):
169
- # check types of columns
170
169
df = sim .population .props
171
170
orig = sim .population .new_row
172
- # this assert was failing but I have checked all properties and they maintain the expected type
173
- # assert (df.dtypes == orig.dtypes).all()
171
+ # this assert was failing but I have checked all properties and they maintain the expected type
172
+ # assert (df.dtypes == df.dtypes).all() #placeholer
173
+
174
+ assert (df .dtypes == orig .dtypes ).all ()
174
175
175
176
def check_configuration_of_population (sim ):
176
177
# get df for alive persons:
@@ -323,7 +324,7 @@ def test_that_there_is_no_treatment_without_the_hsi_running(seed):
323
324
# make initial population
324
325
sim .make_initial_population (n = popsize )
325
326
326
- population_of_interest = get_population_of_interest (sim )
327
+ # population_of_interest = get_population_of_interest(sim)
327
328
# sim.population.props.loc[population_of_interest, "ce_hpv_cc_status"] = 'stage1'
328
329
check_configuration_of_population (sim )
329
330
You can’t perform that action at this time.
0 commit comments