We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2eabdb5 commit 94f5460Copy full SHA for 94f5460
cheta/fetch.py
@@ -863,6 +863,12 @@ def get_time_data_from_server(h5_slice, filename):
863
times_all_ok = np.all(times_ok)
864
if not times_all_ok:
865
times = times[times_ok]
866
+ elif remote_access.access_remotely:
867
+ # This is really to prevent an issue in MATLAB tools where the times
868
+ # array is not "well-behaved" and causes issues in the MATLAB interface
869
+ # layer. But since remote access is almost always done with MATLAB and
870
+ # is slow, we'll just copy the array to be safe.
871
+ times = times.copy()
872
873
times_cache.update(
874
dict(key=cache_key, val=times, ok=times_ok, all_ok=times_all_ok)
0 commit comments