Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into dev-smoothTheory
Browse files Browse the repository at this point in the history
  • Loading branch information
Martina Gerbino committed Oct 4, 2023
2 parents a62f9e2 + d293248 commit 71c93d9
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 2 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/compatibility.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Compatibility
on:
schedule:
- cron: '0 4 * * SUN'
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ['3.10']
toxenv: [py310-test-all-latest]
# release: [main, latest] # there are no releases yet so this would break
release: [main]
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- if: matrix.release != 'main'
name: Checkout Release
run: |
git checkout tags/$(curl -s https://api.github.com/repos/simonsobs/SOLikeT/releases/${{ matrix.release }} | python -c "import sys, json; print(json.load(sys.stdin)['tag_name'])")
- name: Install Conda w/ Python ${{ matrix.python-version }}
uses: conda-incubator/setup-miniconda@v2
with:
auto-activate-base: false
python-version: ${{ matrix.python-version }}
channels: conda-forge
- name: Install Dependencies
shell: bash -el {0}
run: |
pip install tox-conda
- name: Run Tests
shell: bash -el {0}
run: |
tox -e ${{ matrix.toxenv }} ${{ matrix.toxargs }} -- ${{ matrix.toxposargs }}
5 changes: 3 additions & 2 deletions soliket/mflike/theoryforge_MFLike.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,12 @@ def initialize(self):
# State requisites to the theory code
# Which lmax for theory CMB
# Note this must be greater than lmax above to avoid approx errors
self.lmax_boltzmann = self.lmax + 50
self.lmax_boltzmann = self.lmax + 500

# Which lmax for theory FG
# This can be larger than lmax boltzmann
self.lmax_fg = max(9000, self.lmax_boltzmann)
self.lmax_fg = self.lmax + 500


# Which spectra to consider
self.requested_cls = self.spectra["polarizations"]
Expand Down

0 comments on commit 71c93d9

Please sign in to comment.