I had this problem and after checking the related code i figured out that the snaphu didnt work correctly
You can check it in the snaphu.log to make sure
I ran all steps in matlab software but in this step the script need snaphu so you should run this step in terminal
First in your process directory type :
Matlab -nojvm
After a sec type stamps(6)
Hope it works
snaphu v1.4.2
6 parameters input from file snaphu.conf (6 lines total)
File snaphu.costinfile wrong size (243670 elements expected)
Abort
Reading wrapped phase from file snaphu.in
No weight file specified. Assuming uniform weights
Reading cost information from file snaphu.costinfile