Skip to content

Remove params from CNMFE test that were never used - #344

Merged
ethanbb merged 6 commits into
nel-lab:masterfrom
proektlab:new-params-test-fix
Mar 5, 2026
Merged

ethanbb merged 6 commits into
nel-lab:masterfrom
proektlab:new-params-test-fix

Conversation

@ethanbb

@ethanbb ethanbb commented Mar 4, 2026

Copy link
Copy Markdown
Collaborator

This removes 2 params ("gnb" and "merge_thresh") that were not used when running the CNMFE test because the names differ from what they are called within the params struct ("nb" and "merge_thr", respectively), even though they match corresponding legacy arguments to the CNMFParams constructor. With the old params system, they were just ignored and logged a warning that the parameters were not consumed. With the change proposed in flatironinstitute/CaImAn#1566, params in param_dict and those passed directly to the constructor are treated the same, so they will be renamed and consumed, causing a difference in results.

@ethanbb
ethanbb merged commit d4d66c7 into nel-lab:master Mar 5, 2026
0 of 5 checks passed
@ethanbb
ethanbb deleted the new-params-test-fix branch March 5, 2026 20:49
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