JinghaoLu / MIN1PIPE

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

remove_dp #65

Open zz-rezaei opened 2 years ago

zz-rezaei commented 2 years ago

When I run the 'demo' I encounter this error :

Undefined function 'remove_dp' for input arguments of type 'matlab.io.MatFile'

Then I found that there is no such a function in the path. Instead there is 'remove_dead_pixels.m' in 'utilities\elements'. So I changed the file's name. But this time I get this error :

'Attempt to execute SCRIPT remove_dp as a function'

The reason is that, 'remove_dp' is a script but in line 84 of 'min1pipe' or 'min1pipe_HPC' is called as a function.

I appreciate any suggestion to solve this issue.

simonfisher commented 2 years ago

I'm getting this as well - using the latest clone of the repo...

(I didn't get it on the 3.1 stable release, but that had other issues, e.g. https://github.com/JinghaoLu/MIN1PIPE/issues/64#issue-1187090126 )

JinghaoLu commented 2 years ago

@zz-rezaei @simonfisher Hi both, the remove_dp function has been added.