diff --git a/CHANGELOG.md b/CHANGELOG.md index 06241798..5e002cdb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## Next version +## 1.3.0 - July 10, 2024 ### ✨ Improved diff --git a/README.md b/README.md index 22182b3c..e206e1cd 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ pip install -e . We use [ruff](https://docs.astral.sh/ruff/) for both linting, import sorting, and code formatting. The configuration is stored in `pyproject.toml` and it's mainly the default `ruff` configuration (and similar to `flake8`) but with a line length of 99 characters for historical reasons and because it simplifies writing long Peewee/SQLAlchemy query statements. The formatting is similar to [black](https://github.com/psf/black), and thus quite opinionated. -A workflow checks for linting and formatting errors on each commit, and pull requests are blocked until the workflow succeeds. The easiest way to fix these problems is by installing `ruff` and letting it format the code, and then checking if any linting errors remain +A workflow checks for linting and formatting errors on each commit, and pull requests are blocked until the workflow succeeds. The easiest way to fix these problems is by installing `ruff` and letting it format the code, and then checking if any linting errors remain. The commands `ruff format` and `ruff check` are independent and both must be run. ```console $ pip install ruff diff --git a/pyproject.toml b/pyproject.toml index c4bb9bd5..faf76216 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "sdss-target-selection" -version = "1.3.0a0" +version = "1.3.0" description = "Code to perform target selection for BHM/MWM using catalogdb" authors = ["José Sánchez-Gallego "] license = "BSD 3-Clause" @@ -61,7 +61,7 @@ sphinx-copybutton = ">=0.3.3" myst-parser = ">=0.15" [tool.poetry.scripts] -target-selection = "target_selection.__main__:target_selection" +target_selection = "target_selection.__main__:target_selection" [tool.ruff] line-length = 99 diff --git a/python/target_selection/config/target_selection.yml b/python/target_selection/config/target_selection.yml index 239e9cd8..0275561b 100644 --- a/python/target_selection/config/target_selection.yml +++ b/python/target_selection/config/target_selection.yml @@ -1,3 +1,18 @@ +'1.2.1': + xmatch_plan: 1.0.0 + cartons: + open_fiber_path: /uufs/chpc.utah.edu/common/home/sdss50/sdsswork/target/open_fiber/postv1/draft2/ + schema: sandbox + magnitudes: + h: [catalog_to_twomass_psc, twomass_psc, twomass_psc.h_m] + j: [catalog_to_twomass_psc, twomass_psc, twomass_psc.j_m] + k: [catalog_to_twomass_psc, twomass_psc, twomass_psc.k_m] + bp: [catalog_to_gaia_dr3_source, gaia_dr3_source, gaia_dr3_source.phot_bp_mean_mag] + rp: [catalog_to_gaia_dr3_source, gaia_dr3_source, gaia_dr3_source.phot_rp_mean_mag] + gaia_g: [catalog_to_gaia_dr3_source, gaia_dr3_source, gaia_dr3_source.phot_g_mean_mag] + database_options: + work_mem: '5GB' + '1.2.0': xmatch_plan: 1.0.0 cartons: