Skip to content

Commit

Permalink
added dtype=object
Browse files Browse the repository at this point in the history
  • Loading branch information
BM32ESRF committed Mar 6, 2024
1 parent 917466d commit 8e5a0a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions LaueTools/IOimagefile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion LaueTools/matchingrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8e5a0a1

Please sign in to comment.