Closed jwallwork23 closed 4 months ago
Thanks for this @jwallwork23! I took a quick look now and am thinking about two things:
Have you considered these?
Excellent point @ddundo, thanks. I think commit https://github.com/pyroteus/goalie/pull/114/commits/24502e2610dee8d7a217aca86ac2573b2fbad398 should address this concern by considering the field type inside the FunctionData
class rather than outside.
Thanks @jwallwork23, looks great :)
Partially addresses #26.
[Putting all of you as reviewers mainly to make you aware I finally got round to this.]
This PR introduces
SolutionData
andIndicatorData
classes which should fit seamlessly with the current API. They have a common base class, so we avoid duplication in how the nested dictionaries and arrays are set up.Once this is merged, I'll open two follow-up PRs: