main_cnmf_e.py now can be used on Windows. The main change is to guard everything by if name == 'main': statement otherwise multi-processing dosen't work on Windows. Reference: https://stackoverflow.com/questions/18204782/runtimeerror-on-windows-trying-python-multiprocessing Also, Linux-sspecific code (path seperators) replaced with platform-neutral. Also, it is better to avoid things like "from somewhere import *".
main_cnmf_e.py now can be used on Windows. The main change is to guard everything by if name == 'main': statement otherwise multi-processing dosen't work on Windows. Reference: https://stackoverflow.com/questions/18204782/runtimeerror-on-windows-trying-python-multiprocessing Also, Linux-sspecific code (path seperators) replaced with platform-neutral. Also, it is better to avoid things like "from somewhere import *".