diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 52849c8d..367facec 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,7 +5,13 @@ + + + + + + @@ -69,7 +75,7 @@ - + @@ -201,10 +207,10 @@ - + - + @@ -288,17 +294,15 @@ - - - + - + - + @@ -309,7 +313,7 @@ - + @@ -361,7 +365,7 @@ - + @@ -387,11 +391,9 @@ - - - - - + + + @@ -527,6 +529,7 @@ + @@ -562,7 +565,6 @@ - @@ -593,29 +595,7 @@ - - - + + + @@ -1033,12 +1035,6 @@ - - - - - - @@ -1051,6 +1047,12 @@ + + + + + + @@ -1077,26 +1079,26 @@ - + + + - - @@ -1382,11 +1384,9 @@ - - - - - + + + @@ -1438,9 +1438,7 @@ - - - + @@ -1463,22 +1461,6 @@ - - - - - - - - - - - - - - - - @@ -1537,18 +1519,34 @@ + + + + + + + + - + - + - - + + + + + + + + + + diff --git a/pysd/pysd.py b/pysd/pysd.py index b844ecd4..a136d9e8 100644 --- a/pysd/pysd.py +++ b/pysd/pysd.py @@ -103,11 +103,11 @@ def __str__(self): # JT: Might be helpful to return not only the source file, but # also how the instance differs from that source file. This # would give a more accurate view of the current model. - str = 'Translated Model File: ' + self.py_model_file + string = 'Translated Model File: ' + self.py_model_file if hasattr(self, 'mdl_file'): - str += '\n Original Model File: ' + self.mdl_file + string += '\n Original Model File: ' + self.mdl_file - return str + return string def run(self, params=None, return_columns=None, return_timestamps=None, initial_condition='original'): diff --git a/tests/test-models b/tests/test-models index 8c5ebba7..bf939db2 160000 --- a/tests/test-models +++ b/tests/test-models @@ -1 +1 @@ -Subproject commit 8c5ebba76b829bd130e4e38977ff40fb435235ae +Subproject commit bf939db2d20f9583b1bea1ea4c77e98679ef0953