fumitoh / modelx

Use Python like a spreadsheet!

Home Page:https://modelx.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when saving opened model

alexeybaran opened this issue · comments

I can't save the model, opened from file.

import modelx as mx
m, s = mx.new_model(), mx.new_space()
@mx.defcells
def a():
    return 1
m.save('m.mx')
m2 = mx.open_model('m.mx')
m2.save('m2.mx')

Apply this fix 8a5027f