Skip to content

Conversation

@rly
Copy link
Contributor

@rly rly commented Jan 7, 2026

Motivation

How to test the behavior?

Run tests

Checklist

  • Did you update CHANGELOG.md with your changes?
  • Does the PR clearly describe the problem and the solution?
  • Have you reviewed our Contributing Guide?
  • Does the PR use "Fix #XXX" notation to tell GitHub to close the relevant issue numbered XXX when the PR is merged?

@rly rly changed the title Fix container class registration issue Fix container class mapped to incorrect namespace Jan 7, 2026
@codecov
Copy link

codecov bot commented Jan 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.45%. Comparing base (e442075) to head (63752ff).
⚠️ Report is 1 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #1373      +/-   ##
==========================================
+ Coverage   92.44%   92.45%   +0.01%     
==========================================
  Files          42       42              
  Lines        9765     9765              
  Branches     1983     1983              
==========================================
+ Hits         9027     9028       +1     
+ Misses        463      462       -1     
  Partials      275      275              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rly rly requested a review from oruebel January 7, 2026 17:06
@rly rly marked this pull request as ready for review January 7, 2026 17:06
@rly rly enabled auto-merge (squash) January 10, 2026 01:46
Comment on lines 522 to +524
# NOTE that the type_name may appear in multiple namespaces based on how they were resolved
# but the same type_name should point to the same class
if data_type in ns_data_types:
if data_type in ns_data_types and not isinstance(ns_data_types[data_type], TypeSource):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the comment also need to be updated? I'm not sure what isinstance(ns_data_types[data_type], TypeSource actually checks so may be worth clarifying. Otherwise this looks good so I approve and you can decide

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment could be a little clearer. I'll make a new PR. Sorry, this was on auto-merge.

@rly rly merged commit b558983 into dev Jan 10, 2026
28 checks passed
@rly rly deleted the fix/container_registration branch January 10, 2026 21:53
rly added a commit that referenced this pull request Jan 10, 2026
Clarify comment regarding TypeMap.__container_types
oruebel pushed a commit that referenced this pull request Jan 11, 2026
Clarify comment regarding TypeMap.__container_types
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.

DynamicTableRegion written with hdmf_experimental instead of hdmf_common when using NWB extensions

3 participants