Skip to content

Commit 8ddf311

Browse files
committed
use convert to adjust axis units so it saves to disk
1 parent fe5d949 commit 8ddf311

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wt5/wt5_event_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def stop(self, doc):
205205

206206
for ax in self.data["primary"].axes:
207207
if ax.natural_name in self.axis_units:
208-
ax.units = self.axis_units[ax.natural_name]
208+
ax.convert(self.axis_units[ax.natural_name])
209209

210210
self.data["primary"].flush()
211211

0 commit comments

Comments
 (0)