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

new checksums #1537

Merged
merged 1 commit into from
Oct 25, 2023
Merged

new checksums #1537

merged 1 commit into from
Oct 25, 2023

Conversation

chriscrsmith
Copy link
Contributor

@chriscrsmith chriscrsmith commented Oct 25, 2023

The annotations checksums changed in the vaquita annotation PR #1520 annotations maintenance script PR #1522.

$ python -m pytest
========================================================= test session starts =========================================================
platform linux -- Python 3.8.17, pytest-7.4.2, pluggy-1.3.0
rootdir: /home/chriscs/StdPopSim/Temp1/stdpopsim
configfile: setup.cfg
testpaths: tests
plugins: xdist-3.3.1, cov-4.1.0
4 workers [2416 items]  
............................................................................................................................... [  5%]
............................................................................................................................... [ 10%]
............................................................................................................................... [ 15%]
............................................................................................................................... [ 20%]
............................................................................................................................... [ 26%]
............................................................................................................................... [ 31%]
............................................................................................................................... [ 36%]
............................................................................................................................... [ 42%]
............................................................................................................................... [ 47%]
............................................................................................................................... [ 52%]
............................................................................................................................... [ 57%]
........................................sssssss.s.s.sss......sssssss.....ssss....ssssss.sss...ssssss.ss...ssssss............... [ 63%]
............................................................................................................................... [ 68%]
............................................................................................................................... [ 73%]
............................................................................................................................... [ 78%]
............................................................................................................................... [ 84%]
............................................................................................................................... [ 89%]
............................................................................................................................... [ 94%]
...............................s..............................................
.............
.................................... [ 99%]
...                                                                                                                             [100%]
========================================================== warnings summary ===========================================================
tests/test_dfes.py: 7 warnings
tests/test_masking.py: 2 warnings
tests/test_slim_engine.py: 59 warnings
  /home/chriscs/Software/miniconda3/envs/stdpopsim2/lib/python3.8/site-packages/msprime/ancestry.py:831: TimeUnitsMismatchWarning: The initial_state has time_units=ticks but time is measured in generations in msprime. This may lead to significant discrepancies between the timescales. If you wish to suppress this warning, you can use, e.g., warnings.simplefilter('ignore', msprime.TimeUnitsMismatchWarning)
    warnings.warn(message, TimeUnitsMismatchWarning)

tests/test_utils.py::TestGammaPdf::test_gamma_pdf[x3-a3-loc3-scale3]
  /home/chriscs/StdPopSim/Temp1/stdpopsim/stdpopsim/utils.py:349: RuntimeWarning: invalid value encountered in divide
    y = (x - loc) / scale

tests/test_utils.py::TestGammaPdf::test_gamma_pdf[x3-a3-loc3-scale3]
  /home/chriscs/Software/miniconda3/envs/stdpopsim2/lib/python3.8/site-packages/scipy/stats/_distn_infrastructure.py:2093: RuntimeWarning: invalid value encountered in divide
    x = np.asarray((x - loc)/scale, dtype=dtyp)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
====================================== 2369 passed, 47 skipped, 70 warnings in 166.26s (0:02:46) ======================================

@codecov
Copy link

codecov bot commented Oct 25, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (92b8b36) 99.86% compared to head (334a5a4) 99.86%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1537   +/-   ##
=======================================
  Coverage   99.86%   99.86%           
=======================================
  Files         128      129    +1     
  Lines        4300     4307    +7     
  Branches      594      594           
=======================================
+ Hits         4294     4301    +7     
  Misses          3        3           
  Partials        3        3           
Files Coverage Δ
stdpopsim/catalog/AraTha/annotations.py 100.00% <ø> (ø)
stdpopsim/catalog/DroMel/annotations.py 100.00% <ø> (ø)
stdpopsim/catalog/HomSap/annotations.py 100.00% <ø> (ø)
stdpopsim/catalog/PhoSin/__init__.py 100.00% <100.00%> (ø)
stdpopsim/catalog/PhoSin/annotations.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@andrewkern andrewkern merged commit 4766517 into popsim-consortium:main Oct 25, 2023
11 checks passed
@petrelharp
Copy link
Contributor

Why did all the checksums change? (Was it because of that error in the annotations maintenance script?)

@petrelharp petrelharp mentioned this pull request Oct 25, 2023
@chriscrsmith
Copy link
Contributor Author

chriscrsmith commented Oct 26, 2023

I had figured its because of the change to the maintenance script, which changed the tarball and should not have affected the actual annotation files themselves.

@petrelharp
Copy link
Contributor

That makes sense - just checking.

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.

3 participants