1 parent 31032b5 commit ca20b16Copy full SHA for ca20b16
1 file changed
ratapi/project.py
@@ -4,6 +4,7 @@
4
import copy
5
import functools
6
import json
7
+import sys
8
import warnings
9
from collections.abc import Callable
10
from enum import Enum
@@ -879,7 +880,8 @@ def write_item(item):
879
880
if not np.any(item.data): # if array is empty, e.g. in simulation data
881
item_str += "'data': empty([0, 3]), "
882
else:
- item_str += f"'data': {repr(item.data)}, "
883
+ with np.printoptions(threshold=sys.maxsize):
884
+ item_str += f"'data': {repr(item.data)}, "
885
if len(item.data_range) != 0:
886
item_str += f"'data_range': {item.data_range}, "
887
if len(item.simulation_range) != 0:
0 commit comments