Traceback (most recent call last): File "Documents\twoptb\across_days\across_day_traces.py", line 259, in roiattrs2 = neuropil_correct(areaFile,roiattrs) File "Documents\twoptb\across_days\across_day_traces.py", line 125, in neuropil_correct temp = areaF[:,yLims[0]:yLims[1],xLims[0]:xLims[1]] *np.abs(mask-1) File "h5py_objects.pyx", line 54, in h5py._objects.with_phil.wrapper (C:\Minonda\conda-bld\h5py_1474482483473\work\h5py_objects.c:2705) File "h5py_objects.pyx", line 55, in h5py._objects.with_phil.wrapper (C:\Minonda\conda-bld\h5py_1474482483473\work\h5py_objects.c:2663) File "C:\Users\mert3628\Anaconda2\lib\site-packages\h5py_hl\dataset.py", line 462, in getitem selection = sel.select(self.shape, args, dsid=self.id) File "C:\Users\mert3628\Anaconda2\lib\site-packages\h5py_hl\selections.py", line 92, in select sel[args] File "C:\Users\mert3628\Anaconda2\lib\site-packages\h5py_hl\selections.py", line 259, in getitem start, count, step, scalar = _handle_simple(self.shape,args) File "C:\Users\mert3628\Anaconda2\lib\site-packages\h5py_hl\selections.py", line 443, in _handle_simple x,y,z = _translate_slice(arg, length) File "C:\Users\mert3628\Anaconda2\lib\site-packages\h5py_hl\selections.py", line 484, in _translate_slice raise ValueError("Reverse-order selections are not allowed") ValueError: Reverse-order selections are not allowed
When running the 'across_day_traces.py' script:
Traceback (most recent call last): File "Documents\twoptb\across_days\across_day_traces.py", line 259, in roiattrs2 = neuropil_correct(areaFile,roiattrs) File "Documents\twoptb\across_days\across_day_traces.py", line 125, in neuropil_correct temp = areaF[:,yLims[0]:yLims[1],xLims[0]:xLims[1]] *np.abs(mask-1) File "h5py_objects.pyx", line 54, in h5py._objects.with_phil.wrapper (C:\Minonda\conda-bld\h5py_1474482483473\work\h5py_objects.c:2705) File "h5py_objects.pyx", line 55, in h5py._objects.with_phil.wrapper (C:\Minonda\conda-bld\h5py_1474482483473\work\h5py_objects.c:2663) File "C:\Users\mert3628\Anaconda2\lib\site-packages\h5py_hl\dataset.py", line 462, in getitem selection = sel.select(self.shape, args, dsid=self.id) File "C:\Users\mert3628\Anaconda2\lib\site-packages\h5py_hl\selections.py", line 92, in select sel[args] File "C:\Users\mert3628\Anaconda2\lib\site-packages\h5py_hl\selections.py", line 259, in getitem start, count, step, scalar = _handle_simple(self.shape,args) File "C:\Users\mert3628\Anaconda2\lib\site-packages\h5py_hl\selections.py", line 443, in _handle_simple x,y,z = _translate_slice(arg, length) File "C:\Users\mert3628\Anaconda2\lib\site-packages\h5py_hl\selections.py", line 484, in _translate_slice raise ValueError("Reverse-order selections are not allowed") ValueError: Reverse-order selections are not allowed