Skip to content

Commit

Permalink
Removed deprecated parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
TheChymera committed Aug 25, 2022
1 parent b212f42 commit 4bb376f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions dandi/cli/cmd_validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,12 @@
help="Whether to write a report under a unique path in the DANDI log directory.",
)
@click.argument("paths", nargs=-1, type=click.Path(exists=True, dir_okay=True))
@devel_debug_option()
@map_to_click_exceptions
def validate_bids(
paths,
schema,
report,
report_path,
devel_debug=False,
):
"""Validate BIDS paths.
Expand All @@ -46,7 +44,6 @@ def validate_bids(
report=report,
report_path=report_path,
schema_version=schema,
devel_debug=devel_debug,
)
valid = is_valid(validator_result)
report_errors(validator_result)
Expand Down
2 changes: 1 addition & 1 deletion dandi/cli/tests/test_cmd_validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def test_validate_bids_error(bids_examples):
from ..cmd_validate import validate_bids

expected_error = (
"Summary: 2 filename patterns required by BIDS could not be found "
"Summary: 1 filename pattern required by BIDS could not be found "
"and 1 filename did not match any pattern known to BIDS.\n"
)
broken_dataset = os.path.join(bids_examples, "invalid_pet001")
Expand Down

0 comments on commit 4bb376f

Please sign in to comment.