Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion ratapi/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import copy
import functools
import json
import sys
import warnings
from collections.abc import Callable
from enum import Enum
Expand Down Expand Up @@ -879,7 +880,8 @@ def write_item(item):
if not np.any(item.data): # if array is empty, e.g. in simulation data
item_str += "'data': empty([0, 3]), "
else:
item_str += f"'data': {repr(item.data)}, "
with np.printoptions(threshold=sys.maxsize):
item_str += f"'data': {repr(item.data)}, "
if len(item.data_range) != 0:
item_str += f"'data_range': {item.data_range}, "
if len(item.simulation_range) != 0:
Expand Down
Loading