You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of passing --ignoreNiftiHeaders to bids-validator-deno (which
would suppress header checks even for real files), run the validator in
full and filter out content-dependent BIDS error codes
(NIFTI_HEADER_UNREADABLE, EMPTY_FILE) only for broken-symlink files.
This way real files still get full BIDS validation.
Empirical testing confirms bids-validator-deno reports
NIFTI_HEADER_UNREADABLE (error) for broken symlinks while still
validating path layout, sidecar JSON, and metadata correctly.
Also improves tests:
- All test dandisets now include at least one real NWB file alongside
the broken symlinks
- New test_validate_broken_symlink_real_file_still_validated verifies
that pynwb/nwbinspector results exist for the real file and are
absent for the broken symlink under both skip and only-non-data
- CLI tests verify "sub-003" (real file) appears in output
https://claude.ai/code/session_01CLi49c7QcJx11b7UfshbvE
0 commit comments