Skip to content

Fix IndexError in MGCX and Time Series Tests for Zero Variance Slices - #448

Open
ChickenisLegit wants to merge 1 commit into
neurodata:mainfrom
ChickenisLegit:fix-mgcx-time-series
Open

Fix IndexError in MGCX and Time Series Tests for Zero Variance Slices#448
ChickenisLegit wants to merge 1 commit into
neurodata:mainfrom
ChickenisLegit:fix-mgcx-time-series

Conversation

@ChickenisLegit

Copy link
Copy Markdown
Contributor

Fixes #409 by passing compute_distance=None for precomputed distance matrices in time series compute_stat, correctly slicing distance matrices rather than computing distances of distances, and catching scipy's multiscale_graphcorr IndexError that occurs on zero-variance distance matrices.

@netlify

netlify Bot commented Aug 22, 2026

Copy link
Copy Markdown

Deploy Preview for hyppo ready!

Name Link
🔨 Latest commit 0c84b0e
🔍 Latest deploy log https://app.netlify.com/projects/hyppo/deploys/6a894157a4208f0008672f5f
😎 Deploy Preview https://deploy-preview-448--hyppo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@sampan501

Copy link
Copy Markdown
Collaborator

Once you resolve the conflicts, this looks good to merge

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.

Index error in MGCX

2 participants