Skip to content

Conversation

rly
Copy link
Contributor

@rly rly commented Aug 10, 2024

Motivation

Fix #210

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?

Copy link

codecov bot commented Aug 10, 2024

Codecov Report

❌ Patch coverage is 16.12903% with 26 lines in your changes missing coverage. Please review.
✅ Project coverage is 37.91%. Comparing base (886bf4a) to head (fa23969).

Files with missing lines Patch % Lines
src/hdmf/common/table.py 16.00% 21 Missing ⚠️
src/hdmf/container.py 16.66% 5 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (886bf4a) and HEAD (fa23969). Click for more details.

HEAD has 4 uploads less than BASE
Flag BASE (886bf4a) HEAD (fa23969)
5 1
Additional details and impacted files
@@             Coverage Diff             @@
##              dev    #1168       +/-   ##
===========================================
- Coverage   91.62%   37.91%   -53.72%     
===========================================
  Files          42       42               
  Lines        9684     9707       +23     
  Branches     1963     1971        +8     
===========================================
- Hits         8873     3680     -5193     
- Misses        523     5696     +5173     
- Partials      288      331       +43     

☔ 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 marked this pull request as draft August 19, 2024 17:37
@rly rly marked this pull request as ready for review October 4, 2025 01:51
@rly rly requested a review from oruebel October 4, 2025 01:51
@rly rly enabled auto-merge (squash) October 4, 2025 01:51

def setUp(self):
self.test_dir = tempfile.mkdtemp()
if os.path.exists(self.test_dir): # start clean
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This code raised hidden errors during test setup. tempfile.mkdtemp() creates a clean temp directory so the below code is not needed


def tearDown(self):
if os.path.exists(self.ns_filename):
if hasattr(self, 'ns_filename') and os.path.exists(self.ns_filename):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This code raised hidden errors during test setup when this test was skipped because ROS3 is not installed or there is no internet, because the instance vars are not defined before skipping and tearing down.

@rly
Copy link
Contributor Author

rly commented Oct 4, 2025

#1293 should be merged before this

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.

Do not allow write with a DynamicTableRegion index that is out of bounds

2 participants