Skip to content

Conversation

@Infernus-WIND
Copy link

Fix: BaseMAMEM subjects range excludes the 11th subject

What

This PR fixes the subjects initialization in BaseMAMEM:

  • subjects=list(range(1, 12)) instead of range(1, 11)

Why

The class is documented and intended to have 11 subjects (IDs 1..11).
Using range(1, 11) (Python’s exclusive upper bound) unintentionally
excludes subject 11, causing:

  • Incomplete dataset coverage
  • Potential index/consistency issues for downstream consumers
  • Mismatch with dataset metadata and docstring

How

Single-line change in BaseMAMEM.__init__:

- subjects=list(range(1, 11)),
+ subjects=list(range(1, 12)),

Change:
- subjects=list(range(1, 12))
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