Skip to content

Remove February 2026 deprecated parameters#1678

Merged
h-mayorquin merged 4 commits intomainfrom
remove-feb-2026-deprecations-v2
Mar 3, 2026
Merged

Remove February 2026 deprecated parameters#1678
h-mayorquin merged 4 commits intomainfrom
remove-feb-2026-deprecations-v2

Conversation

@h-mayorquin
Copy link
Collaborator

Remove February 2026 deprecated parameters

Removes four deprecated parameters that were scheduled for removal on or before February 2026:

  • staging parameter from automatic_dandi_upload in _dandi.py (deprecated October 2024, use sandbox instead)
  • container_name parameter from ImageInterface.add_to_nwbfile (deprecated February 2026, use metadata_key in __init__ instead)
  • container_name parameter from DeepLabCutInterface.add_to_nwbfile (deprecated February 2026, use pose_estimation_metadata_key in __init__ instead)
  • time_series_name parameter from add_recording_as_time_series_to_nwbfile (deprecated February 2026, use metadata_key instead)

Also cleans up empty positional argument deprecation blocks in ImageInterface.add_to_nwbfile and DeepLabCutInterface.add_to_nwbfile where container_name was the only tracked parameter (replaced *args with * or removed entirely). The ImageInterface.__init__ positional argument deprecation is also replaced with keyword-only enforcement using *.

h-mayorquin and others added 2 commits March 2, 2026 21:34
Remove staging from _dandi.py, container_name from ImageInterface
and DeepLabCutInterface, and time_series_name from spikeinterface.
Also clean up empty positional argument deprecation blocks where
container_name was the only tracked parameter.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@h-mayorquin h-mayorquin self-assigned this Mar 3, 2026
@h-mayorquin h-mayorquin requested a review from pauladkisson March 3, 2026 15:23
@codecov
Copy link

codecov bot commented Mar 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.41%. Comparing base (c7f0869) to head (d3b1c9c).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1678      +/-   ##
==========================================
+ Coverage   80.23%   80.41%   +0.18%     
==========================================
  Files         160      160              
  Lines       12663    12632      -31     
==========================================
- Hits        10160    10158       -2     
+ Misses       2503     2474      -29     
Flag Coverage Δ
unittests 80.41% <100.00%> (+0.18%) ⬆️

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

Files with missing lines Coverage Δ
...ces/behavior/deeplabcut/deeplabcutdatainterface.py 86.87% <100.00%> (+6.64%) ⬆️
...c/neuroconv/datainterfaces/image/imageinterface.py 85.00% <100.00%> (+5.26%) ⬆️
src/neuroconv/tools/data_transfers/_dandi.py 14.51% <ø> (+1.47%) ⬆️
...c/neuroconv/tools/spikeinterface/spikeinterface.py 80.14% <100.00%> (-0.07%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@pauladkisson pauladkisson 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!

@h-mayorquin h-mayorquin merged commit 5ab71e3 into main Mar 3, 2026
23 of 24 checks passed
@h-mayorquin h-mayorquin deleted the remove-feb-2026-deprecations-v2 branch March 3, 2026 19:27
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.

2 participants