Skip to content

Commit

Permalink
Make pandas->numpy conversion explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
alubbock committed Apr 7, 2021
1 parent 377e4ba commit 0168a08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions thunor/curve_fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -728,10 +728,10 @@ def fit_params_minimal(ctrl_data, expt_data,
else:
dr_name = drugs[0]

doses_expt = dip_grp.index.get_level_values('dose').values
doses_expt = dip_grp.index.get_level_values('dose').to_numpy()

if is_viability:
resp_expt = dip_grp['viability']
resp_expt = dip_grp['viability'].to_numpy()
doses = doses_expt
fit_obj = fit_drc(
doses_expt, resp_expt, response_std_errs=None,
Expand Down

0 comments on commit 0168a08

Please sign in to comment.