simonsobs / LAT_MFLike

Multifrequency Likelihood for SO Large Aperture Telescope
https://lat-mflike.readthedocs.io
Other
4 stars 12 forks source link

Fix missing version number #75

Closed xgarrido closed 7 months ago

xgarrido commented 7 months ago

In case the package is not installed (for instance with readthedocs) or installed from source with no .git directory (for instance downloaded as tarball), the initialisation process will fail.

See https://setuptools-scm.readthedocs.io/en/latest/usage/#version-at-runtime

codecov-commenter commented 7 months ago

Codecov Report

Attention: Patch coverage is 60.00000% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 87.27%. Comparing base (e4d9bcf) to head (9253e68).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/simonsobs/LAT_MFLike/pull/75/graphs/tree.svg?width=650&height=150&src=pr&token=qrrVcbNCs5&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=simonsobs)](https://app.codecov.io/gh/simonsobs/LAT_MFLike/pull/75?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=simonsobs) ```diff @@ Coverage Diff @@ ## master #75 +/- ## ========================================== - Coverage 87.66% 87.27% -0.40% ========================================== Files 3 3 Lines 381 385 +4 ========================================== + Hits 334 336 +2 - Misses 47 49 +2 ``` | [Files](https://app.codecov.io/gh/simonsobs/LAT_MFLike/pull/75?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=simonsobs) | Coverage Δ | | |---|---|---| | [mflike/\_\_init\_\_.py](https://app.codecov.io/gh/simonsobs/LAT_MFLike/pull/75?src=pr&el=tree&filepath=mflike%2F__init__.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=simonsobs#diff-bWZsaWtlL19faW5pdF9fLnB5) | `71.42% <60.00%> (-28.58%)` | :arrow_down: |