Skip to content

Commit

Permalink
Fix replicate points on relative "no fit" DRCs
Browse files Browse the repository at this point in the history
  • Loading branch information
alubbock committed Oct 24, 2018
1 parent a7ac342 commit eed29ed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions thunor/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,7 @@ def plot_drc(fit_params, is_absolute=False, color_by=None, color_groups=None,
except AttributeError:
ctrl_resp = None
if not is_absolute:
if fp.fit_obj is not None and \
not isinstance(fp.fit_obj, HillCurveNull):
if fp.fit_obj is not None:
divisor = fp.fit_obj.divisor
elif fp.fit_obj is None and ctrl_resp is not None:
divisor = np.mean(ctrl_resp)
Expand Down

0 comments on commit eed29ed

Please sign in to comment.