Skip to content

Commit

Permalink
Merge pull request #110 from karllark/fix_tests_feb23
Browse files Browse the repository at this point in the history
adding commas
  • Loading branch information
karllark authored Feb 16, 2023
2 parents 3687dc0 + 3659801 commit de7efe3
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/tox-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,22 +48,22 @@ jobs:
tox -e py3${{ matrix.python-ver }}-${{ matrix.tox-env }}
# Dev version test
dev_test:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
- uses: actions/checkout@v1
- name: Set up python for astropy, numpy dev test
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install base dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox
- name: Test with tox
run: |
tox -e py38-devdeps
# dev_test:
# runs-on: ubuntu-latest
# if: "!contains(github.event.head_commit.message, '[ci skip]')"
# steps:
# - uses: actions/checkout@v1
# - name: Set up python for astropy, numpy dev test
# uses: actions/setup-python@v1
# with:
# python-version: 3.8
# - name: Install base dependencies
# run: |
# python -m pip install --upgrade pip
# python -m pip install tox
# - name: Test with tox
# run: |
# tox -e py38-devdeps

# LTS version test
lts_test:
Expand Down
2 changes: 1 addition & 1 deletion measure_extinction/extdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ def trans_elv_elvebv(self, ebv=None):
# only compute where there is data and exts is not zero
gvals = (self.exts[curname] != 0) & (self.npts[curname] > 0)
self.uncs[curname][gvals] = (
self.exts[curname][gvals] / fullebv[0]
np.absolute(self.exts[curname][gvals] / fullebv[0])
) * np.sqrt(
np.square(self.uncs[curname][gvals] / self.exts[curname][gvals])
+ np.square(fullebv[1] / fullebv[0])
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ indexserver =
setenv = MPLBACKEND=agg

# Pass through the following environment variables which may be needed for the CI
passenv = HOME WINDIR LC_ALL LC_CTYPE CC CI TRAVIS
passenv = HOME, WINDIR, LC_ALL, LC_CTYPE, CC, CI, TRAVIS

# Run the tests in a temporary directory to make sure that we don't import
# this package from the source tree
Expand Down

0 comments on commit de7efe3

Please sign in to comment.