Skip to content

Soft-deprecate the concatenate artifact-removal method (#354)#396

Merged
pauladkisson merged 2 commits into
mainfrom
fix-354-artifact-default
Jul 23, 2026
Merged

Soft-deprecate the concatenate artifact-removal method (#354)#396
pauladkisson merged 2 commits into
mainfrom
fix-354-artifact-default

Conversation

@pauladkisson

Copy link
Copy Markdown
Collaborator

Extracted from the stalled NWB-export PR #357 so the artifact fix can land in main on its own while the larger feature keeps cooking.

Flips the removeArtifacts method default from concatenate to replace with NaN and reworks the help text to discourage concatenate. See #354 for why concatenate is the wrong default — it re-times the kept samples onto a fresh timeline and breaks alignment to the acquisition clock.

Scope is just the frontend default + help text and the matching unit-test assertion. The NWB-export-specific abort (which refuses to export a concatenate-processed session) stays on the NWB-export branch, since it lives in a file that doesn't exist on main.

🤖 Generated with Claude Code

Flip the removeArtifacts method default from "concatenate" to "replace
with NaN" and update the help text to discourage "concatenate", which
re-times the kept samples onto a fresh timeline and breaks alignment to
the acquisition clock.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@pauladkisson
pauladkisson force-pushed the fix-354-artifact-default branch from 2059aaa to 6a92ed5 Compare July 23, 2026 15:04
@pauladkisson
pauladkisson enabled auto-merge July 23, 2026 15:07
The integration save-parameters test compares the written snapshot
against the form defaults; flip its expected artifactsRemovalMethod to
"replace with NaN" to match the new default.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@codecov

codecov Bot commented Jul 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@pauladkisson
pauladkisson merged commit 72e9b05 into main Jul 23, 2026
28 of 32 checks passed
@pauladkisson
pauladkisson deleted the fix-354-artifact-default branch July 23, 2026 17:11
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.

1 participant