OntoEnv state not same b/w instantiations
Opened this issue · 1 comments
majidaldo commented
(for my use case) i noticed that the ontoenv state (represented by the mappings) would change between instantiations despite there being no other changes.
contrived interpreter session:
# clean slate
> OntoEnv(intialize=True).mapping
{{big dictionary}}
> OntoEnv().mapping
{{small dictionary}}
gtfierro commented
Oh! Did you track this down to me forgetting to run _save()
when the mapping was updated?
I agree with the improved placement of the call to _save()
at the end of the refresh method in the commit you linked.