Skip to content

Commit

Permalink
fix bug on reporting of df
Browse files Browse the repository at this point in the history
  • Loading branch information
shapiromatron committed Nov 12, 2024
1 parent 58e21db commit 03c9d38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/IndividualModel/Summary.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Summary extends Component {
const isContinuous = outputStore.getModelType === mc.MODEL_CONTINUOUS,
results = model.bmd ? model : model.results,
p_value = isContinuous ? results.tests.p_values[3] : results.gof.p_value,
df = isContinuous ? results.tests.p_values[3] : results.gof.df;
df = isContinuous ? results.tests.dfs[3] : results.gof.df;
data = [
["BMD", ff(results.bmd), results.bmd],
["BMDL", ff(results.bmdl), results.bmdl],
Expand Down

0 comments on commit 03c9d38

Please sign in to comment.