Ensure Community respects dict semantics
In particular ensure that a Community created by merging |
or updated by |=
has all correct derived attributes
-
models -
files -
answers -
sbml_dir
In general all uses of self.models
ought to be self
Instead of class Community(dict[Taxon, Any])
perhaps files should be attached to models and the type should be class Community(dict[Taxon, Model]):
.
Need to invalidate the answers
cache when merging or updating.
We probably don't need sbml_dir
as a attribute