Skip to content

Release/v0.2.0#45

Merged
AP6YC merged 20 commits intomainfrom
release/v0.2.0
Sep 21, 2022
Merged

Release/v0.2.0#45
AP6YC merged 20 commits intomainfrom
release/v0.2.0

Conversation

@AP6YC
Copy link
Owner

@AP6YC AP6YC commented Sep 20, 2022

This PR folds in release v0.2.0. This new subversion changes the internals with privatization and adds more CVIs.

@AP6YC AP6YC added the release Pull a release branch into main label Sep 20, 2022
@AP6YC AP6YC requested a review from NiklasMelton September 20, 2022 22:30
@AP6YC AP6YC self-assigned this Sep 20, 2022
@codecov
Copy link

codecov bot commented Sep 20, 2022

Codecov Report

Merging #45 (ff593db) into main (83d4de8) will increase coverage by 0.09%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #45      +/-   ##
==========================================
+ Coverage   99.08%   99.18%   +0.09%     
==========================================
  Files           7        9       +2     
  Lines         439      616     +177     
==========================================
+ Hits          435      611     +176     
- Misses          4        5       +1     
Impacted Files Coverage Δ
src/cvi/__init__.py 100.00% <100.00%> (ø)
src/cvi/modules/CH.py 100.00% <100.00%> (ø)
src/cvi/modules/DB.py 100.00% <100.00%> (ø)
src/cvi/modules/GD43.py 100.00% <100.00%> (ø)
src/cvi/modules/GD53.py 100.00% <100.00%> (ø)
src/cvi/modules/__init__.py 100.00% <100.00%> (ø)
src/cvi/modules/_base.py 92.42% <100.00%> (-1.52%) ⬇️
src/cvi/modules/cSIL.py 100.00% <100.00%> (ø)
tests/test_cvi.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Collaborator

@NiklasMelton NiklasMelton 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 but make all the internal variables private

super()._setup_batch(data)

# Take the average across all samples, but cast to 1-D vector
self.mu = np.mean(data, axis=0)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should all be private

@AP6YC AP6YC merged commit b3bf41e into main Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release Pull a release branch into main

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants