diff --git a/LaueTools/IOimagefile.py b/LaueTools/IOimagefile.py index 80a3b84..c68f4ff 100755 --- a/LaueTools/IOimagefile.py +++ b/LaueTools/IOimagefile.py @@ -1529,5 +1529,6 @@ def get_imagesize(framedim, nbbits_per_pixel, headersize_bytes): """ return (framedim[0] * framedim[1] * nbbits_per_pixel + headersize_bytes * 8) // 8 + if __name__=='__main__': pass diff --git a/LaueTools/matchingrate.py b/LaueTools/matchingrate.py index 365db81..f5f8668 100755 --- a/LaueTools/matchingrate.py +++ b/LaueTools/matchingrate.py @@ -314,7 +314,7 @@ def SpotLinks(twicetheta_exp, linkIntensity.append(dataintensity_exp[exp_id]) # Dataxy.append([ LaueToolsframe.data_pixX[val[0]], LaueToolsframe.data_pixY[val[0]]]) - linkedspots_link = np.array(listofpairs) + linkedspots_link = np.array(listofpairs, dtype=object) linkExpMiller_link = linkExpMiller linkIntensity_link = linkIntensity linkResidues_link = linkResidues