Alongside preparing the front-end aspects, we can actually implement fitting in the back-end fc-runner, similarly to Aidan's prototype. The back-end web service can have an extra API added that takes a 'fitting spec' and 'dataset' as well as model and protocol, and runs a single hardcoded fit, returning results. A temporary hack in the front-end can then recognise a 'magic' protocol and call this new API instead of the standard simulation.
This will require changes to at least 4 repos, not just this one. But I've stuck the issue here for convenience! @MichaelClerx you can create separate issues if desired.
WebLab:
fc-runner:
weblab-fc:
deployment (I can help with this bit @MichaelClerx - perhaps work on it together on Thurs?):
Related to #19 (if needed).
Alongside preparing the front-end aspects, we can actually implement fitting in the back-end fc-runner, similarly to Aidan's prototype. The back-end web service can have an extra API added that takes a 'fitting spec' and 'dataset' as well as model and protocol, and runs a single hardcoded fit, returning results. A temporary hack in the front-end can then recognise a 'magic' protocol and call this new API instead of the standard simulation.
This will require changes to at least 4 repos, not just this one. But I've stuck the issue here for convenience! @MichaelClerx you can create separate issues if desired.
WebLab:
fc-runner:
chastewebservice.py.weblab-fc:
deployment (I can help with this bit @MichaelClerx - perhaps work on it together on Thurs?):
Related to #19 (if needed).