Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade bidsschematools to be of 1.x series #1591

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Workaround bidsschematools talking too much at the test level for now
  • Loading branch information
yarikoptic committed Mar 13, 2025
commit dd2e45083feb53aecd6ab8f5b5f55debec794030
8 changes: 7 additions & 1 deletion dandi/cli/tests/test_cmd_ls.py
Original file line number Diff line number Diff line change
@@ -70,7 +70,13 @@ def test_ls_bids_file(bids_examples: Path) -> None:
bids_file_path = (
bids_examples / "asl003" / "sub-Sub1" / "anat" / "sub-Sub1_T1w.nii.gz"
)
r = CliRunner().invoke(ls, ["-f", "yaml", str(bids_file_path)])
r = CliRunner().invoke(
ls,
["-f", "yaml", str(bids_file_path)],
# workaround since bst manages to log to stdout
# https://github.com/bids-standard/bids-specification/pull/2085
env={"BIDS_SCHEMA_LOG_LEVEL": "CRITICAL"},
)
assert r.exit_code == 0, r.output
data = yaml_load(r.stdout, "safe")
assert len(data) == 1