Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TST: Extend core tests #202

Merged
merged 9 commits into from Jun 25, 2021
Merged

Conversation

scottclowe
Copy link
Member

  • Generate downsampled test data for more of the example ROIs and TIFFs.
  • Test on this experiment instead of the previous experiment with two ROIs and three TIFFs (instead of the previous version with only one ROI and one TIFF)
  • Check the values of raw, roi_polys, means, mixmat, sep, result, deltaf_result, deltaf_raw match the expected values.
  • We have a copy of the expected values for Python 2 and another for Python 3 because of changes to pickle which you can't turn back to the python 2 settings while using np.load to load npz files.

Closes #10.

@codecov
Copy link

codecov bot commented Jun 25, 2021

Codecov Report

Merging #202 (80ce979) into master (0b6026d) will increase coverage by 0.10%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #202      +/-   ##
==========================================
+ Coverage   93.20%   93.31%   +0.10%     
==========================================
  Files           8        8              
  Lines         927      927              
  Branches      194      194              
==========================================
+ Hits          864      865       +1     
  Misses         32       32              
+ Partials       31       30       -1     
Flag Coverage Δ
nbsmoke 66.01% <ø> (ø)
unittests 92.98% <ø> (-0.11%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
fissa/core.py 97.12% <0.00%> (+0.31%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0b6026d...80ce979. Read the comment docs.

@scottclowe scottclowe merged commit b03adf1 into rochefort-lab:master Jun 25, 2021
@scottclowe scottclowe deleted the tst_bigger-exp branch June 25, 2021 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update test suite
1 participant