Skip to content

Commit

Permalink
update release notes and version for desispec/0.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sbailey committed Sep 29, 2017
1 parent c4032a1 commit 3319b56
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 4 deletions.
16 changes: 15 additions & 1 deletion doc/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
desispec Change Log
===================

0.15.3 (unreleased)
0.16.1 (unreleased)
-------------------

* No changes yet.

0.16.0 (2017-09-29)
-------------------

* Small fixes to desi_qa_prod and qa_prod
Expand All @@ -27,11 +32,20 @@ desispec Change Log
* Fixed exptime in fluxcalib ZP calculation (PR `#429`_)
* Added find_exposure_night() method (PR `#429`_)
* Add MED_SKY metric to QA and bright/dark flag in desi_qa_prod
* Update pipeline code for specex and redrock (PR `#439`_ and `#440`_)
* Adds code for adjusting trace locations to match sky lines (PR `#433`_)
* Updates to DB loading (PR `#431`_)
* Adds pixelflat code (PR `#426`_)

.. _`#422`: https://github.com/desihub/desispec/pull/422
.. _`#424`: https://github.com/desihub/desispec/pull/424
.. _`#425`: https://github.com/desihub/desispec/pull/425
.. _`#426`: https://github.com/desihub/desispec/pull/426
.. _`#429`: https://github.com/desihub/desispec/pull/429
.. _`#431`: https://github.com/desihub/desispec/pull/431
.. _`#433`: https://github.com/desihub/desispec/pull/433
.. _`#439`: https://github.com/desihub/desispec/pull/439
.. _`#440`: https://github.com/desihub/desispec/pull/440

0.15.2 (2017-07-12)
-------------------
Expand Down
3 changes: 1 addition & 2 deletions py/desispec/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
__version__ = '0.15.2.dev1569'
__offline_qa_version__ = '0.4.2'
__version__ = '0.16.0'
13 changes: 12 additions & 1 deletion py/desispec/test/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from __future__ import absolute_import, division
# The line above will help with 2to3 support.
import unittest, os
import tempfile
from datetime import datetime, timedelta
from shutil import rmtree
from pkg_resources import resource_filename
Expand All @@ -25,18 +26,28 @@ def setUpClass(cls):
cls.testfile = 'test-{uuid}/test-{uuid}.fits'.format(uuid=uuid1())
cls.testyfile = 'test-{uuid}/test-{uuid}.yaml'.format(uuid=uuid1())
cls.testbrfile = 'test-{uuid}/test-br-{uuid}.fits'.format(uuid=uuid1())
cls.testDir = os.path.join(os.environ['HOME'],'desi_test_io')
# cls.testDir = os.path.join(os.environ['HOME'],'desi_test_io')
cls.testDir = tempfile.mkdtemp()
cls.origEnv = {'SPECPROD':None,
"DESI_SPECTRO_DATA":None,
"DESI_SPECTRO_REDUX":None}
cls.testEnv = {'SPECPROD':'dailytest',
"DESI_SPECTRO_DATA":os.path.join(cls.testDir,'spectro','data'),
"DESI_SPECTRO_REDUX":os.path.join(cls.testDir,'spectro','redux')}
cls.datadir = cls.testEnv['DESI_SPECTRO_DATA']
cls.reduxdir = os.path.join(cls.testEnv['DESI_SPECTRO_REDUX'],
cls.testEnv['SPECPROD'])
for e in cls.origEnv:
if e in os.environ:
cls.origEnv[e] = os.environ[e]
os.environ[e] = cls.testEnv[e]

def setUp(self):
if os.path.isdir(self.datadir):
rmtree(self.datadir)
if os.path.isdir(self.reduxdir):
rmtree(self.reduxdir)

@classmethod
def tearDownClass(cls):
"""Cleanup test files if they exist.
Expand Down

0 comments on commit 3319b56

Please sign in to comment.