Closed jmcclena closed 3 years ago
I have trouble copying old ods's in old OMFIT projects with the following error:
AttributeError: 'ODS' object has no attribute '_dynamic'"
An Example ods can be found as /cscratch/mcclenaghanj/ods.pkl
As a temporary solution, I added _dynamic=None to the ods with:
def dynamicify_ods(ods): ods._dynamic = None for item in ods: if isinstance(ods[item],ODS): ods[item]._dynamic = None dynamicify_ods(ods[item])```
I have trouble copying old ods's in old OMFIT projects with the following error:
AttributeError: 'ODS' object has no attribute '_dynamic'"
An Example ods can be found as /cscratch/mcclenaghanj/ods.pkl
As a temporary solution, I added _dynamic=None to the ods with: