Skip to content

Commit

Permalink
parser_modified
Browse files Browse the repository at this point in the history
  • Loading branch information
YousefMetwally committed Feb 7, 2025
1 parent 9a48a21 commit dcbe9a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tomotwin/modules/inference/argparse_embed_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def run(self, args=None) -> None:
self.padding = args.padding
if args.distribution_mode == 0:
self.distr_mode = DistrMode.DP
self.padding = args.padding

def get_embed_configuration(self) -> EmbedConfiguration:
conf = EmbedConfiguration(
Expand Down Expand Up @@ -194,7 +195,7 @@ def create_tomo_parser(parser):
parser.add_argument(
"-p",
"--padding",
type=float,
type=bool,
required=False,
default=True,
help="padding value added to all axis of the tomogram from both sides, can be useful to pick particles at the edges"
Expand Down

0 comments on commit dcbe9a8

Please sign in to comment.