Skip to content

Harden OpenNeuro MEG staging and PCA decoding#187

Open
FlorianPfaff wants to merge 2 commits into
mainfrom
codex/openneuro-meg-hardening
Open

Harden OpenNeuro MEG staging and PCA decoding#187
FlorianPfaff wants to merge 2 commits into
mainfrom
codex/openneuro-meg-hardening

Conversation

@FlorianPfaff
Copy link
Copy Markdown
Member

Summary

  • filter ds004276 staging to auditory word event rows before joining the behavior file
  • drop events whose requested epoch window falls outside raw-file bounds before applying trial caps
  • make integer PCA component requests fold-safe while preserving requested provenance and pipeline naming
  • document OpenNeuro workflow caching/API-key behavior and dataset-specific hardening

Tests

  • PYTHONPATH=src python -m pytest tests/test_openneuro_meg.py tests/test_decoding.py --basetemp .pytest-tmp
  • PYTHONPATH=src python -m pytest tests/test_mne_time_decode.py --basetemp .pytest-tmp
  • PYTHONPATH=src python -m ruff check src/neureptrace/openneuro_meg.py src/neureptrace/decoding/__init__.py tests/test_openneuro_meg.py tests/test_decoding.py

Copy link
Copy Markdown
Member Author

Local validation passed. I also attempted to dispatch openneuro-meg-loso.yml smoke runs for ds004276, ds006629, and ds004330 on this branch, but GitHub returned HTTP 500 Failed to run workflow dispatch for both gh workflow run and the REST dispatch endpoint. No runs were created for this branch.

@FlorianPfaff FlorianPfaff marked this pull request as ready for review May 26, 2026 11:43
@FlorianPfaff FlorianPfaff enabled auto-merge (squash) May 26, 2026 11:43
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