21cmfast / 21cmFAST

Official repository for 21cmFAST: a code for generating fast simulations of the cosmological 21cm signal
MIT License
58 stars 37 forks source link

maint: fallback versions for downloading tarballs #282

Closed steven-murray closed 2 years ago

steven-murray commented 2 years ago

This adds fallback versions when downloading releases from Github.

Firstly, if you download an actual release, eg. 21cmFAST-3.1.5.tar.gz, then it will get the version actually correct. If you just download the tarball from the master branch, eg. 21cmFAST.tar.gz, then it will fallback to v0.0.0 without error.

codecov[bot] commented 2 years ago

Codecov Report

Merging #282 (370cf9c) into master (768decf) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #282   +/-   ##
=======================================
  Coverage   86.31%   86.31%           
=======================================
  Files          12       12           
  Lines        2776     2776           
=======================================
  Hits         2396     2396           
  Misses        380      380           

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 a9a53b6...370cf9c. Read the comment docs.