Skip to content

Commit

Permalink
odd_factor added
Browse files Browse the repository at this point in the history
  • Loading branch information
YousefMetwally committed Feb 7, 2025
1 parent c8cc649 commit d9f23a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tomotwin/embed_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def embed_tomogram(
Embeds a tomogram
:return: DataFrame of embeddings
"""
odd_factor = box_size % 2
odd_factor = window_size % 2

if mask is not None and conf.padding == True:
assert tomo.shape == mask.shape, f"Tomogram shape ({tomo.shape}) and mask shape ({mask.shape}) need to be equal."
Expand Down

0 comments on commit d9f23a3

Please sign in to comment.