Closed alexeybaran closed 3 years ago
Below is an illustration of the blocking issue I have after upgrading modelx to the recent version with updated dynamic reference structure:
import modelx as mx m = mx.new_model() m.new_space('a') def t_arg(): pass m.new_space('b') m.new_space('c', formula=t_arg, refs={'x': m.b}) m.a.new_space('d',refs={'c':m.c()}) print(m.a.d.c) mx.write_model(m,'m') m2 = mx.read_model('m') print(m2.a.d.c)
What modelx version did you confirm this was working with before?
version 0.9.0
Below is an illustration of the blocking issue I have after upgrading modelx to the recent version with updated dynamic reference structure: