From fdd9e8ce57eaebaca2c25c121a0add0d47f8dea9 Mon Sep 17 00:00:00 2001 From: Adam Myers Date: Mon, 18 Sep 2023 18:27:44 -0700 Subject: [PATCH] further update changes docs --- doc/changes.rst | 4 +++- py/desimodel/test/test_io.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/changes.rst b/doc/changes.rst index 8b333f1..585a0de 100644 --- a/doc/changes.rst +++ b/doc/changes.rst @@ -6,9 +6,11 @@ desimodel Release Notes ------------------- * Change default file for :func:`~desimodel.io.loadtiles` [`PR #168`_]: - * Now reads from :envvar:`SURVEYOPS` ``(/trunk/ops/tiles-main.ecsv)`` + * Now reads from :envvar:`DESI_SURVEYOPS` ``(/trunk/ops/tiles-main.ecsv)`` * Also adds option to limit tiles to specified ``PROGRAM`` names. * Will now automatically load both `.fits` and `.ecsv` files. + * Maintains option to read from old :envvar:`DESIMODEL` location. + * Tests cover both :envvar:`DESI_SURVEYOPS` and :envvar:`DESIMODEL` cases. * Addresses `issue #167`_. .. _`#168`: https://github.com/desihub/desimodel/pull/168 diff --git a/py/desimodel/test/test_io.py b/py/desimodel/test/test_io.py index 3552a51..066cc4a 100644 --- a/py/desimodel/test/test_io.py +++ b/py/desimodel/test/test_io.py @@ -240,7 +240,7 @@ def test_load_tiles(self): @unittest.skipUnless(desimodel_available, desimodel_message) def test_load_tiles_alt_old(self): - """Test alternative tile-load for old default DATAMODEL case + """Test alternative tile-load for old default DESIMODEL case """ # starting clean self.assertEqual(io._tiles, {})