Skip to content
Snippets Groups Projects

Add Path type to CLI args

Merged Yoann Schneider requested to merge last-fixes into master
1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
+ 2
0
@@ -27,6 +27,7 @@ def parse_args():
"-a",
"--annot",
help="Annotation in BIO format.",
type=Path,
)
group.add_argument(
"-c",
@@ -38,6 +39,7 @@ def parse_args():
"-p",
"--predict",
help="Prediction in BIO format.",
type=Path,
)
parser.add_argument(
"-f",
Loading