Skip to content

Commit

Permalink
Merge pull request #25 from Ciela-Institute/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
adam-coogan authored Mar 7, 2023
2 parents e7af0dc + ebd37ab commit ffba18c
Show file tree
Hide file tree
Showing 42 changed files with 1,673 additions and 811 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ name: Code Coverage
on:
push:
branches:
- main
- main
- dev
pull_request:
branches:
- main
- dev
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -62,4 +64,4 @@ jobs:
uses: codecov/codecov-action@v3
with:
files: ${{ github.workspace }}/coverage.xml
fail_ci_if_error: true
fail_ci_if_error: true
8 changes: 6 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ name: Unit Tests

on:
push:
branches: [ "main" ]
branches:
- main
- dev
pull_request:
branches: [ "main" ]
branches:
- main
- dev

permissions:
contents: read
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[project]
name = "caustic"
version = "0.0.1a0"
version = "0.2.0"
authors = [{name="Adam Coogan", email="[email protected]"}]
description = "The lensing pipeline of the future."
readme = "README.md"
license = { file="LICENSE" }
requires-python = ">=3.7"
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
Expand All @@ -19,6 +19,7 @@ keywords = [
]
dependencies = [
"astropy",
"graphviz",
"h5py",
"numpy",
"scipy",
Expand Down
130 changes: 0 additions & 130 deletions scripts/sersic_sie.py

This file was deleted.

23 changes: 0 additions & 23 deletions src/caustic/base.py

This file was deleted.

4 changes: 2 additions & 2 deletions src/caustic/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
arcsec_to_rad = 1 / rad_to_arcsec
c_km_s = float(_c_astropy.to("km/s").value)
G = float(_G_astropy.to("pc * km^2 / (s^2 * solMass)").value)
G_over_c2 = float((_G_astropy / _c_astropy**2).to("Mpc/solMass").value)
G_over_c2 = float((_G_astropy / _c_astropy**2).to("Mpc/solMass").value) # type: ignore
c_Mpc_s = float(_c_astropy.to("Mpc/s").value)
km_to_mpc = 3.2407792896664e-20 # TODO: use astropy
km_to_Mpc = 3.2407792896664e-20 # TODO: use astropy
Loading

0 comments on commit ffba18c

Please sign in to comment.