Skip to content

Commit

Permalink
Merge pull request #46 from laclouis5/fix-norm-det
Browse files Browse the repository at this point in the history
Fix wrong CLI argument name in dets parsing.
  • Loading branch information
laclouis5 authored Apr 18, 2024
2 parents fab69b4 + ffde436 commit 7e97b88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "globox"
version = "2.4.4"
version = "2.4.5"
authors = ["Louis Lac <[email protected]>"]
license = "MIT"
packages = [{include = "globox", from = "src"}]
Expand Down
4 changes: 2 additions & 2 deletions src/globox/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def parse_annotations(args: argparse.Namespace) -> AnnotationSet:
)
elif format_in == "txt":
format = BoxFormat.from_string(args.bb_fmt_in)
relative: bool = args.norm_in_dets == "rel"
relative: bool = args.norm_in == "rel"
extension: str = args.ext_in
sep: str = args.sep_in

Expand Down Expand Up @@ -265,7 +265,7 @@ def parse_dets_annotations(
)
elif format_dets == "txt":
bb_fmt = BoxFormat.from_string(args.bb_fmt_dets)
relative: bool = args.norm_dets == "rel"
relative: bool = args.norm_in_dets == "rel"
extension: str = args.ext_dets
sep: str = args.sep_dets

Expand Down

0 comments on commit 7e97b88

Please sign in to comment.