Skip to content

Commit 0335e94

Browse files
authored
Merge pull request spacetelescope#717 from spacetelescope/v0.26.0
Relase v0.26.0 [main]
2 parents 8f4c8ea + acfdd0f commit 0335e94

File tree

130 files changed

+10324
-1543
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+10324
-1543
lines changed

.github/workflows/ci.yml

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: JWQL CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
7+
JWQL-CI:
8+
9+
name: Python - ${{ matrix.python-version }}
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
max-parallel: 5
13+
matrix:
14+
os: [ubuntu-latest, macos-latest]
15+
python-version: [3.7, 3.8]
16+
17+
steps:
18+
- uses: actions/checkout@v2
19+
20+
- uses: conda-incubator/setup-miniconda@v2
21+
with:
22+
activate-environment: jwql-${{ matrix.python-version }}
23+
24+
- name: Build jwql conda environment and run tests
25+
shell: bash -l {0}
26+
run: |
27+
28+
echo "Setting useful environment variables:"
29+
echo " "
30+
export PYTHONVERSION=${{ matrix.python-version }}
31+
export MAJOR="$(echo $PYTHONVERSION | head -c 1)"
32+
export MINOR="$(echo $PYTHONVERSION | tail -c 2)"
33+
echo "PYTHONVERSION: $PYTHONVERSION"
34+
35+
echo " "
36+
echo "Installing jwql conda environment"
37+
echo " "
38+
cd $RUNNER_WORKSPACE/
39+
cd jwql/
40+
$CONDA/bin/conda env update -f environment_python_${MAJOR}_${MINOR}.yml -n jwql-${{ matrix.python-version }}
41+
42+
echo " "
43+
echo "Installing jwql package"
44+
echo " "
45+
python setup.py develop
46+
47+
echo " "
48+
echo "Testing package installation"
49+
echo " "
50+
python -c "import jwql; print('Version: ' + jwql.__version__); print('Path: ' + jwql.__path__[0])"
51+
52+
# echo " "
53+
# echo "Reinstall numpy to fix numpy.core.multiarray error"
54+
# echo " "
55+
pip install -U numpy
56+
57+
echo " "
58+
echo "The conda environment being used:"
59+
echo " "
60+
$CONDA/bin/conda env export
61+
62+
echo " "
63+
echo "Running pytests"
64+
echo " "
65+
pytest jwql/tests/

.pep8speaks.yml

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ scanner:
1717
pycodestyle:
1818
max-line-length: 100 # Default is 79 in PEP8
1919
ignore: # Errors and warnings to ignore
20+
- E501 # Line too long
2021
- E505
2122

2223
only_mention_files_with_errors: True # If False, a separate status comment for each file is made.

.pyup.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ branch: develop
1818
# update schedule
1919
# default: empty
2020
# allowed: "every day", "every week", ..
21-
schedule: "every week"
21+
schedule: "every month"
2222

2323
# search for requirement files
2424
# default: True

CHANGES.rst

+190
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,193 @@
1+
0.26.0 (2021-03-30)
2+
===================
3+
4+
New Features
5+
------------
6+
7+
Project & API Documentation
8+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
9+
- Included badges for GitHub Actions in ``README.md``
10+
- Replaced Jenkins support with GitHub Actions for CI testing
11+
- Removed Python 3.6 support
12+
13+
14+
Web Application
15+
~~~~~~~~~~~~~~~
16+
17+
- Allow local developers to bypass ``auth.mast`` authentication
18+
- Added cosmic ray monitor, unit test code, and relevant database files
19+
- Removed unsupported options including image anomalies, unlooked images and monitors that haven't been implemented
20+
- Improved loading times for web app archive pages by generating a representative thumbnail with ``generate_proposal_thumbnail.py``, using ``astroquery.Mast`` rather than scraping filesystem, adding optional checks that file paths exist
21+
- Implemented JWQL Dashboard View
22+
23+
``jwql`` Repository
24+
~~~~~~~~~~~~~~~~~~~
25+
26+
- Updated the call to the JWST pipeline RSCD step
27+
- Added GitHub Actions
28+
29+
30+
Bug Fixes
31+
---------
32+
33+
Web Application
34+
~~~~~~~~~~~~~~~
35+
36+
- Improved loading times of readnoise monitor webpage
37+
- Fixed broken bokeh CDN links
38+
39+
``jwql`` Repository
40+
~~~~~~~~~~~~~~~~~~~
41+
42+
- Dark monitor exits gracefully when there are not enough files in the filesystem
43+
- Fixed filename parsing for WFS&C and AMI products
44+
- Adjusted generation of preview images such that images are created for all file types
45+
- Update ops naming convention in log directory
46+
47+
48+
49+
0.25.0 (2020-12-31)
50+
===================
51+
52+
New Features
53+
------------
54+
55+
Project & API Documentation
56+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
57+
58+
- Added project citation information to ``README``, along with a Zenodo badge
59+
- Added API Documentation for ``bokeh`` templating software
60+
61+
Web Application
62+
~~~~~~~~~~~~~~~
63+
64+
- Reorganized and made aesthetic improvements to instrument landing pages to be more user-friendly
65+
- Enabled more dynamic search options and aesthetic improvements for anomaly query webpage
66+
- Added web app view for displaying a particular table of the ``jwqldb`` database
67+
- Added webpage for displaying Bias Monitor results with ``bokeh`` plots
68+
69+
``jwql`` Repository
70+
~~~~~~~~~~~~~~~~~~~
71+
72+
- Changed ``utils.credentials.py`` to always authenticate a MAST user with a user-identified token in the ``config.json`` file, instead of using a cached token, which was sometimes causes errors
73+
- Updated software to support the latest versions of ``django`` and ``bokeh``
74+
- Removed ``affected_tables`` column of ``monitor`` database table, as it stored redundant information
75+
- Updated the Readnoise Monitor to work for all JWST instruments
76+
77+
78+
Bug Fixes
79+
---------
80+
81+
82+
Web Application
83+
~~~~~~~~~~~~~~~
84+
85+
- Fixed bug in Readnoise Monitor webpage that was causing the web app and ``jwql`` database to hang
86+
87+
``jwql`` Repository
88+
~~~~~~~~~~~~~~~~~~~
89+
90+
- Fixed bug that was causing the ``test_amplifier_info()`` test in ``test_instrument_properties.py`` to fail; truth values were updated to reflect a change in the format of the returned dictionaries from the ``amplifier_info()`` function
91+
- Fixed bug in ``get_header_info()`` that was causing ``test_data_containers.py`` to fail; the function expected the filename without the FITS extension, and the returned header info is in a dictionary (not a string)
92+
- Fixed bug in ``test_utils.py``, and changed ``utils.py`` to make it robust in matching upper and lowercase detector names
93+
- Updated ``utils.instrument_properties`` fix MIRI amplifier bounds calculation when omitting reference pixels
94+
95+
96+
0.24.0 (2020-10-20)
97+
===================
98+
99+
New Features
100+
------------
101+
102+
Project & API Documentation
103+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
104+
105+
- Added API documentation for Bias, Bad Pixel, and Readnoise Monitors
106+
107+
Web Application
108+
~~~~~~~~~~~~~~~
109+
110+
- Added webpage that describes how to use the JWQL web app API
111+
- Added webpage that enables a user to query the ``jwqldb`` database contents
112+
- Enabled more search options and aesthetic improvements for anomaly query webpage
113+
- Added webpage for displaying Readnoise Monitor results with ``bokeh`` plots
114+
- Added webpage for displaying Bad Pixel Monitor results with ``bokeh`` plots
115+
116+
``jwql`` Repository
117+
~~~~~~~~~~~~~~~~~~~
118+
119+
- Added support for Python versions 3.7 and 3.8
120+
- Added unit tests for Readnoise Monitor
121+
- Added unit tests for Bias Monitor
122+
- Added unit tests for Bad Pixel Monitor
123+
- Added unit tests for ``bokeh`` templating library
124+
125+
126+
Bug Fixes
127+
---------
128+
129+
Project & API Documentation
130+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
131+
132+
- Updated broken links to JWST instrument JDox pages
133+
134+
Web Application
135+
~~~~~~~~~~~~~~~
136+
137+
- Fixed various issues that was cuasing authentication through ``auth.mast`` to fail
138+
139+
``jwql`` Repository
140+
~~~~~~~~~~~~~~~~~~~
141+
142+
- Fixed bug that was causing Dark Monitor to crash on recently added apertures from ``pysiaf``
143+
- Fixed several bugs in ``bokeh`` templating library
144+
- Fixed bug that was causing unit tests for ``permissions.py`` to fail
145+
- Fixed bug that was causing ``most_recent_search`` function in Dark Monitor to fail
146+
147+
148+
0.23.0 (2020-07-01)
149+
===================
150+
151+
New Features
152+
------------
153+
154+
Project & API Documentation
155+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
156+
157+
- The ``jwql_web_app`` PowerPoint presentation has been updated
158+
- The bokeh templating software now has full API documentation
159+
- Updated ``README`` and About webpage to reflect changes to development team members
160+
161+
Web Application
162+
~~~~~~~~~~~~~~~
163+
164+
- Added webpage to view FITS headers of each extension for a given dataset
165+
- Added webpage for displaying Dark Monitor results with ``bokeh`` plots
166+
- Added webpage for viewing contents of a given JWQL database table
167+
- Added webpage for querying and displaying anomaly results
168+
- Added slider bar for easily navigating through integrations in preview image display
169+
- The list of anomalies one can flag in a preview image is now instrument specific
170+
171+
172+
``jwql`` Repository
173+
~~~~~~~~~~~~~~~~~~~
174+
175+
- The ``jwql-3.6`` conda environment now uses the ``astroconda`` channel instead of ``astroconda-dev``
176+
- Added Bias Monitor module, which currently monitors the bias levels for NIRCam
177+
- Added Readnoise Monitor module, which monitors readnoise for all instruments except FGS
178+
- Added Bad Pixel Monitor module, which tracks bad pixels for all instruments
179+
- Cron job logs now include a print out of the complete ``conda`` environment being used
180+
181+
182+
Bug Fixes
183+
---------
184+
185+
Project & API Documentation
186+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
187+
188+
- Fixed broken link to ``numpydoc`` docstring convention in Style Guide
189+
190+
1191
0.22.0 (2019-08-26)
2192
===================
3193

Jenkinsfile

-94
This file was deleted.

JenkinsfileRT

-23
This file was deleted.

0 commit comments

Comments
 (0)