Skip to content

Commit

Permalink
output coordinates now saved as .coords instead of .txt
Browse files Browse the repository at this point in the history
  • Loading branch information
bwmr committed Sep 18, 2024
1 parent fd2ecda commit 4b0a307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sizepicker/picker.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ def filt(self,boxes,particles_metrics,stdthreshold,remove_edge):
boxs_XYZ = boxs_ZYX[:,[2,1,0]]

# Write out coordinates as txt file
with open(self.output/f"{self.name}_coords.txt", "w") as f:
with open(self.output/f"{self.name}.coords", "w") as f:
np.savetxt(f, boxs_XYZ, delimiter=' ', fmt='%s %s %s')

return boxs_XYZ

0 comments on commit 4b0a307

Please sign in to comment.