Skip to content

Commit

Permalink
Changed type of parsing from PathExists/IsFile to Path to allow filen…
Browse files Browse the repository at this point in the history
…ame only input in CLI
  • Loading branch information
gabridele committed Jan 17, 2025
1 parent 2511ee4 commit 457fc58
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cubids/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ def _parse_apply():
)
parser.add_argument(
"edited_summary_tsv",
type=IsFile,
type=Path,
action="store",
help=(
"path to the _summary.tsv that has been edited "
Expand All @@ -566,7 +566,7 @@ def _parse_apply():
)
parser.add_argument(
"files_tsv",
type=IsFile,
type=Path,
action="store",
help=(
"path to the _files.tsv that has been edited "
Expand Down Expand Up @@ -876,7 +876,7 @@ def _parse_copy_exemplars():
)
parser.add_argument(
"exemplars_dir",
type=PathExists,
type=Path,
action="store",
help=(
"name of the directory to create where to store exemplar dataset. "
Expand All @@ -887,7 +887,7 @@ def _parse_copy_exemplars():
)
parser.add_argument(
"exemplars_tsv",
type=IsFile,
type=Path,
action="store",
help=(
"path to the .tsv that lists one "
Expand Down

0 comments on commit 457fc58

Please sign in to comment.