ZnDraw
ZnDraw copied to clipboard
`vis.register_modifier` open questions
- [ ] what happens if the Python kernel closes
- [ ] what happens if the page is reloaded (modifiers for given token should remain, if no token all modifiers should remain)
- [ ]
vis.register(cls, run_kwargs: dict)for passing e.g. ML models to thecls.runaskwargs - [ ] remove
methodfrom each entry, including enums like inmoldiff- if we have to modify them anyway, can't we add the method automatically? - [ ] pass
visobject to the modifers run method - or haveself.vis? - [ ] using
register_modifiertwice, will remove the first one. - [ ] non-default modifiers should be able to have the same name.
- [ ] What about selection / analysis
- [ ] with
default=Truethe modifier still usesself.<attribute>which will not be correct! - [ ] properly allow to register a modifier without a
token(might already be fine the way it is.)