Skip to content

Conversation

t-b
Copy link
Collaborator

@t-b t-b commented Aug 27, 2025

We only need to check if the given path ends in .nwb if it is not None.

Close #2125

We only need to check if the given path ends in .nwb if it is not None.
Copy link

codecov bot commented Aug 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.19%. Comparing base (387f80b) to head (5c11a25).
⚠️ Report is 1 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #2130   +/-   ##
=======================================
  Coverage   95.19%   95.19%           
=======================================
  Files          28       28           
  Lines        2849     2849           
  Branches      736      736           
=======================================
  Hits         2712     2712           
  Misses         83       83           
  Partials       54       54           
Flag Coverage Δ
integration 74.16% <100.00%> (ø)
unit 85.08% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

t-b added a commit to AllenInstitute/ipfx that referenced this pull request Aug 27, 2025
pynwb 3.1.2 does currently always output a warning about a missing .nwb
ending in path even if path was not passed at all and is None.

This will be fixed in [1], ignore the warning until we require that
version.

We also drop the path argument to NWBHDF5IO as that is not needed.

[1]: NeurodataWithoutBorders/pynwb#2130
oruebel
oruebel previously approved these changes Aug 27, 2025
Copy link
Contributor

@oruebel oruebel left a comment

Choose a reason for hiding this comment

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

Looks good to me

@oruebel oruebel requested a review from stephprince August 27, 2025 16:27
stephprince
stephprince previously approved these changes Sep 4, 2025
Copy link
Contributor

@stephprince stephprince left a comment

Choose a reason for hiding this comment

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

thanks @t-b!

@stephprince stephprince dismissed stale reviews from oruebel and themself via 5c11a25 September 4, 2025 22:28
@stephprince stephprince enabled auto-merge (squash) September 4, 2025 22:29
@stephprince stephprince merged commit d3e4085 into NeurodataWithoutBorders:dev Sep 4, 2025
25 checks passed
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.

[Bug]: Unexpected warning about filepath not ending with nwb with BytesIO backing
4 participants