forked from JulianBMunoz/Zeus21
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'JulianBMunoz:main' into main
- Loading branch information
Showing
5 changed files
with
88 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Python Package using Conda | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build-linux: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
max-parallel: 5 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: '3.10' | ||
- name: Add conda to system path | ||
run: | | ||
# $CONDA is an environment variable pointing to the root of the miniconda directory | ||
echo $CONDA/bin >> $GITHUB_PATH | ||
- name: Install dependencies | ||
run: | | ||
conda env update --file environment.yml --name base | ||
- name: Lint with flake8 | ||
run: | | ||
conda install flake8 | ||
# stop the build if there are Python syntax errors or undefined names | ||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | ||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide | ||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics | ||
- name: Test with pytest | ||
run: | | ||
conda install pytest | ||
pytest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
If you find this code useful, please cite: | ||
|
||
[An Effective Model for the Cosmic-Dawn 21-cm Signal](https://arxiv.org/abs/2302.08506). | ||
Muñoz 2023 | ||
|
||
@article{Munoz:2023kkg, | ||
author = "Mu\~noz, Julian B.", | ||
title = "{An Effective Model for the Cosmic-Dawn 21-cm Signal}", | ||
eprint = "2302.08506", | ||
archivePrefix = "arXiv", | ||
primaryClass = "astro-ph.CO", | ||
doi = "10.1093/mnras/stad1512", | ||
month = "2", | ||
year = "2023" | ||
} | ||
|
||
If additionally you use the UVLF functionality consider citing: | ||
|
||
[Breaking degeneracies in the first galaxies with clustering](https://arxiv.org/abs/2306.09403). | ||
Muñoz, Mirocha, Furlanetto, and Sabti 2023 | ||
|
||
|
||
@article{Munoz:2023cup, | ||
author = "Mu\~noz, Julian B. and Mirocha, Jordan and Furlanetto, Steven and Sabti, Nashwan", | ||
title = "{Breaking degeneracies in the first galaxies with clustering}", | ||
eprint = "2306.09403", | ||
archivePrefix = "arXiv", | ||
primaryClass = "astro-ph.CO", | ||
month = "6", | ||
year = "2023" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters