ICB-DCM / pyPESTO

python Parameter EStimation TOolbox
https://pypesto.readthedocs.io
BSD 3-Clause "New" or "Revised" License
216 stars 47 forks source link

pypesto.ensemble.ensemble.EnsemblePrediction.compute_chi2 incorrectly assumes all edatas have equal number of timepoints #1296

Open dweindl opened 7 months ago

dweindl commented 7 months ago

pypesto.ensemble.ensemble.EnsemblePrediction.compute_chi2 incorrectly assumes all amici_objective.edatas have equal number of timepoints, here:

https://github.com/ICB-DCM/pyPESTO/blob/e389257973b063d7e1219abd4b5570f3277ecaa9/pypesto/ensemble/ensemble.py#L440-L448

This isn't necessarily correct.