Replies: 3 comments 5 replies
|
Not clear what the ideal syntax would be. Using a dict would be a bit tricky, but probably most intuitive. Would need a symbol for the default. e.g. |
|
There's kinda two ways to imagine this. Either, we imagine we tie things quite closely to the original implementation, with defaults tiers or levels (maybe a clearer name!), and then the user can occasionally provide customisations, perhaps by editing their Another idea is that we make things super flexible, somehow, every type in the tree structure has to be specified, perhaps via the UI (which sounds like a bit of a nightmare). This would probably require moving the configuration of this tree to a separate file e.g. a json somehow... this does kinda take a step closer to the idea that Cassini could simply be an API spec... This file could be managed by Cassini somehow. However, I like the way Cassini is configured via the cas_project.py file., especially as we expect users are mostly python native scientists. Another issue with the later approach is it's unlikely a user knows in advance what their tree will look like. Hence the need for the UI to be used to customise it. |
|
Another idea is that users could write a Python file that lives in the directory that handles customisation?... So basically when |
Uh oh!
There was an error while loading. Please reload this page.
The alternative, which would be a big re-write would be to somehow make hierarchy not just a list, but something more complex, like a tree e.g.
All reactions