Commit graph

10 commits

Author SHA1 Message Date
Phil Elson
0d33c3cd08 Ensure that the application static files are available in Voila. 2020-11-20 13:22:13 +01:00
Phil Elson
ddc30e1ff9 Use the CARA logo without CERN logo in the Expert App. 2020-11-20 11:44:35 +01:00
Phil Elson
2075899c5e Update the expert app to include a logo. 2020-11-20 11:24:25 +01:00
Andre Henriques
04b49954f0 change title, add logo 2020-11-20 11:14:06 +01:00
Phil Elson
568f7ca56b Fix the broken mask selection widget. 2020-10-26 14:36:54 +01:00
Phil Elson
6463e04e71 Undo the change to the notebook. 2020-10-26 13:45:04 +01:00
Phil Elson
a95181612b Implement most of the model parameters in widgets. 2020-10-26 08:21:31 +01:00
Phil Elson
f63e1d3760 Abstract the model state so that we can mutate it conveniently.
This rather large change adds a layer between the underlying (immutable) model and the application.
In doing so we can avoid the use of a global state (useful for the purposes of configuring multiple models in the same application later on) and it also unlocks the ability to implement an MVC-like separation of concerns - again, the intention is that when it comes to comparisons, we will just be able to re-use our application views.

I was hoping that ``cara.state`` could have been avoided in lieu of using traitlets, but unfortunately I found a number of limitations which were prohibitive for its use here.
Foremost of which was the lack of first-class dataclass support and the difficulty in needing either to use instances of the model (immutable) or duplicate the model and its structure in a mutable form and use the ``traitlets.Instance`` type.
Instead I opted for doing it myself - the ``cara.state`` module would make a very good standalone project in the future.
2020-10-21 20:59:01 +02:00
markus
aa3a58caae update notebook with ventilation changes 2020-10-20 16:23:21 +02:00
Phil Elson
ca5633a988 Bring over the prototyped voila app, and handle installation dependencies correctly. 2020-10-20 09:51:34 +02:00