spam-regularStrain failure with -comp e without -cub flag
When running spam-regularStrain -comp e without the -cub flag, the code crashes with the output:
Traceback (most recent call last): File "/extra/jhu/anaconda2/envs/spam_210520/bin/spam-regularStrain", line 103, in verbose=True) File "/extra/jhu/anaconda2/envs/spam_210520/lib/python3.7/site-packages/spam/deformation/deformationField.py", line 534, in decomposeFfield for returns in pool.imap_unordered(decomposeOneF, range(fieldRavelLength)): File "/extra/jhu/anaconda2/envs/spam_210520/lib/python3.7/multiprocessing/pool.py", line 748, in next raise value numpy.linalg.LinAlgError: Array must not contain infs or NaNs
This happens only for specific cases. One tsv file for which this occurs has been provided to Eddy.