Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix type-checking bug in BidsTsvFile constructor #163

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

happy5214
Copy link
Member

The constructor's type check for a plain object was catching typed objects as well. The new code explicitly checks for Maps, and plain objects are checked with the isPlainObject lodash function.

The constructor's type check for a plain object was catching typed
objects as well. The new code explicitly checks for Maps, and plain
objects are checked with the isPlainObject lodash function.
@happy5214 happy5214 added bug Something isn't working bids BIDS integration labels Jul 31, 2024
@happy5214 happy5214 self-assigned this Jul 31, 2024
@happy5214 happy5214 merged commit 1aa57f1 into master Jul 31, 2024
6 of 7 checks passed
@happy5214 happy5214 deleted the fix-tsv-constructor-test branch July 31, 2024 20:31
@happy5214 happy5214 added this to the 3.15.3 milestone Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bids BIDS integration bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant