Skip to content

Commit

Permalink
Fix Saver
Browse files Browse the repository at this point in the history
  • Loading branch information
phantomlsh committed Dec 16, 2024
1 parent b921c30 commit 1f7d2dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion quick/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.6
0.3.7
2 changes: 2 additions & 0 deletions quick/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ def write_ini(self):
config["Dependent " + str(i + 1)] = { "label": self.dep_params[i][0], "units": self.dep_params[i][1], "category": self.dep_params[i][2] }
n_param = 1 # Parameters
for key, value in self.params.items():
if value is None:
continue
if isinstance(value, (list, np.ndarray)):
value = np.array2string(np.ndarray(value), max_line_width=2147483647, separator=",", threshold=2147483647)
if isinstance(value, dict):
Expand Down

0 comments on commit 1f7d2dc

Please sign in to comment.