JinghaoLu / MIN1PIPE

A MINiscope 1-photon-based Calcium Imaging Signal Extraction PIPEline.
GNU General Public License v3.0
59 stars 27 forks source link

Error with video from Miniscope #8

Closed myhuyong closed 5 years ago

myhuyong commented 5 years ago

When running min1pipe.m, I get the following error.

Error using frame_reg Too many input arguments.

Error in min1pipe (line 102) [m, corr_score, raw_score, scl] = frame_reg(m, imaxy, se, Fsi_new, pixs, scl, sigma_x, sigma_f, sigma_d);

Error in run (line 91) evalin('caller', strcat(script, ';'));

JinghaoLu commented 5 years ago

This results from the archived MIN1PIPE_v1 being in the matlab path, which uses a different version of "frame_reg". You can remove "_archive/MIN1PIPE_v1" from matlab path or delete that folder from the hard disk. I removed it from the repository as well so no conflicting functions co-exist.