JaneliaSciComp/JRCLUST

Error when loading imec.ap_raw.jrc file for 3A probes

Closed this issue · 1 comments

If you have a usage or support question, come join our Gitter and ask your question there.
If you found a bug, please provide all of the following:

Output of ver

MATLAB Version: 9.4.0.813654 (R2018a)
MATLAB License Number: 40779866
Operating System: Microsoft Windows 10 Pro Version 10.0 (Build 16299)
Java Version: Java 1.8.0_144-b01 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode

Output of gpuDevice

CUDADevice with properties:

                  Name: 'GeForce GTX 1080 Ti'
                 Index: 1
     ComputeCapability: '6.1'
        SupportsDouble: 1
         DriverVersion: 9
        ToolkitVersion: 9
    MaxThreadsPerBlock: 1024
      MaxShmemPerBlock: 49152
    MaxThreadBlockSize: [1024 1024 64]
           MaxGridSize: [2.1475e+09 65535 65535]
             SIMDWidth: 32
           TotalMemory: 1.1811e+10
       AvailableMemory: 9.6333e+09
   MultiprocessorCount: 28
          ClockRateKHz: 1670500
           ComputeMode: 'Default'
  GPUOverlapsTransfers: 1
KernelExecutionTimeout: 0
      CanMapHostMemory: 1
       DeviceSupported: 1
        DeviceSelected: 1

The command you used

(e.g., jrc detect-sort myparam.prm)
jrc detect-sort myparam.prm

If manually sorting, what it is you tried to do

Console output

Error using reshape
To RESHAPE the number of elements must not change.

Error in jrclust.detect.DetectController/detect (line 105)
res.spikesRaw = reshape(fread(fid, inf, '*int16'), res.rawShape);

Error in JRC/detect (line 16)
dRes = obj.hDetect.detect();

Error in JRC/run (line 13)
obj.detect();

Error in jrc (line 20)
hJRC.run();

Fixed in the latest commit.