Skip to content

Commit ba1949a

Browse files
committed
couple more copy=None
1 parent c29dd4d commit ba1949a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

neo/io/igorproio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def _wave_to_analogsignal(self, content, dirpath):
157157
signal = AnalogSignal(
158158
signal,
159159
units=units,
160-
copy=False,
160+
copy=None,
161161
t_start=t_start,
162162
sampling_period=sampling_period,
163163
name=name,

neo/io/proxyobjects.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,11 +419,11 @@ def load(self, time_slice=None, strict_slicing=True, magnitude_mode="rescaled",
419419
float_wfs = self._rawio.rescale_waveforms_to_float(
420420
raw_wfs, dtype="float32", spike_channel_index=self._spike_channel_index
421421
)
422-
waveforms = pq.Quantity(float_wfs, units=self._wf_units, dtype="float32", copy=False)
422+
waveforms = pq.Quantity(float_wfs, units=self._wf_units, dtype="float32")
423423
elif magnitude_mode == "raw":
424424
# could code also CompundUnit here but it is over killed
425425
# so we used dimentionless
426-
waveforms = pq.Quantity(raw_wfs, units="", dtype=raw_wfs.dtype, copy=False)
426+
waveforms = pq.Quantity(raw_wfs, units="", dtype=raw_wfs.dtype)
427427
else:
428428
waveforms = None
429429

0 commit comments

Comments
 (0)