Skip to content

Correct BIDS keys for acquisition, hardware and measurement questions (#36) - #165

Open
reyyishreyas wants to merge 2 commits into
INCF:mainfrom
reyyishreyas:fix/bids-keys
Open

reyyishreyas wants to merge 2 commits into
INCF:mainfrom
reyyishreyas:fix/bids-keys

Conversation

@reyyishreyas

Copy link
Copy Markdown

Addresses part of the audit requested in #36.

Changes

Checked BIDS keys against the BIDS 1.9 specification and corrected the wrong ones in the source TSVs:

hardware.tsv

  • amplifier_make ("Make (brand) of the amplifier"): key changed from ManufacturersModelName → Manufacturer, and BIDS_file filled in (*_eeg.json) since it was empty. A model-name key on a "make (brand)" question is incorrect.
  • electrode_manufacturer ("Make (brand) of the electrodes"): key changed from ManufacturersModelName → Manufacturer for the same reason.
  • trigger_signal_input_when ("Were triggers delivered during acquisition or added after recording?"): removed TriggerChannelCount / *_eeg.json — this question asks about when triggers were delivered, not the number of trigger channels. This is the trigger/TriggerChannelCount issue flagged for checking.

acquisition.tsv

  • online_filters: key changed from online_filters → HardwareFilters (online_filters is not a BIDS key).
  • online_filters_high_pass_cut_off: fixed stray trailing space (high_cutoff → high_cutoff).
  • online_filters_low_pass_cut_off: the low-pass cut-off key was on the wrong row. Moved low_cutoff / *_channels.tsv here from online_filters_low_pass_roll_off (roll-off is not the cut-off).

measurement.tsv

  • measure_type ("Select the types of measurements that were taken", amplitude | latency): removed SoftwareFilters / *_eeg.json — a copy-paste error, unrelated to the type of measurement.

Notes

  • BIDS columns are documentation-only; they are not read by convert_table/src, so no schema regeneration is needed. make validate passes.
  • The corresponding BIDS key changes still need to be applied to the live Google Spreadsheets so a future make download does not overwrite them.

The original run for this pull request scheduled no jobs and its logs
have expired, so GitHub offers no re-run (re-running needs admin rights
I do not have on this repository). `make validate` passes on this exact
commit locally: check-json passes and all three reproschema validates
report conforms.

A no-op commit, made only to start a fresh workflow run.
@reyyishreyas

Copy link
Copy Markdown
Author

The validate jsonld run for this PR is sitting in action_required, so it needs someone with write access to click Approve and run.

For the record, the earlier red run was not a code failure. It scheduled no jobs at all:

{"total_count": 0, "jobs": []}

There are no logs for it because nothing ever executed. The approval request then went unactioned for exactly 30 days — started 2026-09-20T08:21:04Z, recorded as failed 2026-10-20T08:21:41Z — and GitHub expired it, which is written up as failure. That is the whole reason for the red X, rather than anything in the diff.

I pushed an empty commit purely to start a fresh run. It now reports action_required instead of failure, which is the accurate state: waiting on approval, not failing.

The content passes the check on that commit. I ran CI's exact command locally:

$ make validate
check json...............................................................Passed
schemas/artemis/activities conforms.       Validation successful
schemas/artemis/protocols conforms.        Validation successful
schemas/artemis/artemis_schema.jsonld conforms.  Validation successful

The diff touches only inputs/tsv/acquisition.tsv, inputs/tsv/hardware.tsv and inputs/tsv/measurement.tsv, so no change to the PR's files is needed — this only needs the workflow approved.

One observation, offered without having confirmed it: validate carries if: github.repository_owner == 'INCF', and both runs for this PR created zero jobs. That condition may be why fork PRs never schedule a job, though I could not verify it from outside the repository.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant