Skip to content

Commit

Permalink
Merge pull request datajoint#25 from kushalbakshi/main
Browse files Browse the repository at this point in the history
Fix error in `FacialSignal` `make()`
  • Loading branch information
sidhulyalkar authored Oct 18, 2023
2 parents 10550ad + 0f7b728 commit 4195dc0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and
[Keep a Changelog](https://keepachangelog.com/en/1.0.0/) convention.

## [0.1.7] - 2023-10-18

+ Fix - Index `mot_Sv` and `movSv` by `roi_no` in `FacialSignal`

## [0.1.6] - 2023-05-22

+ Add - Facemap citation
Expand Down
8 changes: 6 additions & 2 deletions element_facemap/facial_behavior_estimation.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,9 @@ def make(self, key):
key,
roi_no=roi_no,
pc_no=i,
singular_value=dataset["motSv"][i] if "motSv" in dataset else None,
singular_value=dataset["motSv"][roi_no][i]
if "motSv" in dataset
else None,
motmask=dataset["motMask_reshape"][roi_no + 1][:, :, i],
projection=dataset["motSVD"][roi_no + 1][i],
)
Expand All @@ -479,7 +481,9 @@ def make(self, key):
key,
roi_no=roi_no,
pc_no=i,
singular_value=dataset["movSv"][i] if "movSv" in dataset else None,
singular_value=dataset["movSv"][roi_no][i]
if "movSv" in dataset
else None,
movmask=dataset["movMask_reshape"][roi_no + 1][:, :, i],
projection=dataset["movSVD"][roi_no + 1][i],
)
Expand Down
2 changes: 1 addition & 1 deletion element_facemap/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Package metadata."""
__version__ = "0.1.6"
__version__ = "0.1.7"

0 comments on commit 4195dc0

Please sign in to comment.