jwu19

Results 3 issues of jwu19

previous code will return true only when all the switch maintenenance drugs in the cases_maintenance.csv are in the regimen of the current line change the code to return trun when...

In line 141 in rwToT_Lot_line.py, df['CYCLE'] is not defined anywhere before r_regimen = df[df['CYCLE']==df.loc[i, 'CYCLE']]['MED_NAME'].unique()

according to the definition of switch maintenence drug in rwToT_LoT_functions.py def is_eligible_switch_maintenance(regimen, cases_maintenance, line_number): regimen = [x.upper() for x in regimen] cases_maintenance = pd.DataFrame(data = cases_maintenance) cases_maintenance = cases_maintenance[cases_maintenance['maintenance_type'] ==...