Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
julienmalard committed Oct 11, 2019
1 parent f75a3ce commit 0cd40b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysd/pysd.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@

def read_xmile(xmile_file):
""" Construct a model object from `.xmile` file. """
from . import py_backend
from .py_backend.xmile.xmile2py import translate_xmile
py_model_file = translate_xmile(xmile_file)
model = load(py_model_file)
model.xmile_file = xmile_file
return model


def read_vensim(mdl_file):
"""
Construct a model from Vensim `.mdl` file.
Expand Down

0 comments on commit 0cd40b3

Please sign in to comment.