diff --git a/yli/survival.py b/yli/survival.py index 7af6e78..1992dc3 100644 --- a/yli/survival.py +++ b/yli/survival.py @@ -249,6 +249,9 @@ def calc_survfunc_turnbull(time_left, time_right, *, ci=True, step_loc=0.5, maxi if se_method: hpstat_args.append('--se-method') hpstat_args.append(se_method) + elif not ci: + hpstat_args.append('--se-method') + hpstat_args.append('none') if zero_tolerance: hpstat_args.append('--zero-tolerance') hpstat_args.append(str(zero_tolerance))