Skip to content

Commit 881877b

Browse files
authored
Update kwargs in DLC config (#1352)
* update kwargs in config * update changelog
1 parent c5b5ef6 commit 881877b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ ImportedLFP().drop()
122122
- Add arg to return percent below threshold in `get_subthresh_inds` #1304,
123123
#1305
124124
- Accept imported timestamps defined by `rate` and `start_time` #1322
125+
- Fix bug preventing DLC config updates #1352
125126
- Spikesorting
126127
- Fix compatibility bug between v1 pipeline and `SortedSpikesGroup` unit
127128
filtering #1238, #1249

src/spyglass/position/v1/position_dlc_project.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,7 @@ def add_to_config(
559559
kwargs.update(
560560
{str(k): v for k, v in kwargs.items() if not isinstance(k, str)}
561561
)
562+
data.update(kwargs)
562563

563564
with open(config, "w") as fw:
564565
yaml.dump(data, fw)

0 commit comments

Comments
 (0)