Skip to content

Commit

Permalink
adding modification
Browse files Browse the repository at this point in the history
  • Loading branch information
YousefMetwally committed Feb 7, 2025
1 parent dcbe9a8 commit ff6eeaf
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 @@ -145,7 +145,7 @@ def embed_tomogram(
maxz,
) # here we need to take make sure that the box size is subtracted etc.

if conf.padding:
if conf.padding == True:
print('hello')
tomo = np.pad(tomo, int((window_size - odd_factor) // 2), mode='reflect')
print(f"padded the tomogram with padding value of {conf.padding}, new shape is {tomo.shape}")
Expand Down

0 comments on commit ff6eeaf

Please sign in to comment.