Skip to content

Commit

Permalink
keep changing minsize and maxsize
Browse files Browse the repository at this point in the history
  • Loading branch information
tanghaibao committed May 20, 2024
1 parent 084e375 commit 22618fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jcvi/graphics/grabseeds.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,12 +345,12 @@ def add_seeds_options(p, args):
g2 = p.add_argument_group("Object recognition")
g2.add_argument(
"--minsize",
default=0.5,
default=0.2,
type=float,
help="Min percentage of object to image",
)
g2.add_argument(
"--maxsize", default=50, type=float, help="Max percentage of object to image"
"--maxsize", default=20, type=float, help="Max percentage of object to image"
)
g2.add_argument(
"--count", default=100, type=int, help="Report max number of objects"
Expand Down Expand Up @@ -750,7 +750,7 @@ def seeds(args):

# Object size filtering
logger.debug(
"Find objects with pixels between %d (%d%%) and %d (%d%%)",
"Find objects with pixels between %d (%.2f%%) and %d (%d%%)",
min_size,
opts.minsize,
max_size,
Expand Down

0 comments on commit 22618fe

Please sign in to comment.