Skip to content

Commit 46e676e

Browse files
authored
Merge pull request spacetelescope#916 from spacetelescope/v1.1.0
Release v1.1.0 [main]
2 parents 4a9ff01 + 8ea6c9d commit 46e676e

File tree

77 files changed

+1697
-786
lines changed

Some content is hidden

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

77 files changed

+1697
-786
lines changed

.bandit

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Bandit configuration file for JWQL
2+
3+
# (optional) list included tests here:
4+
tests: ['B102', 'B103', 'B104', 'B105', 'B106', 'B107', 'B108', 'B110', 'B112', 'B201', 'B501', 'B502', 'B503', 'B504', 'B505', 'B506', 'B507', 'B601', 'B603', 'B604', 'B605', 'B606', 'B607', 'B609', 'B610', 'B611', 'B701', 'B702', 'B703']
5+
6+
# (optional) list skipped tests here:
7+
skips: ['B101', 'B307', 'B310', 'B404', 'B602', 'B608']

.github/workflows/ci.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
max-parallel: 5
1313
matrix:
1414
os: [ubuntu-latest, macos-latest]
15-
python-version: [3.7, 3.8]
15+
python-version: [3.8, 3.9]
1616

1717
steps:
1818
- uses: actions/checkout@v2
@@ -22,8 +22,11 @@ jobs:
2222
activate-environment: jwql-${{ matrix.python-version }}
2323

2424
- name: Bandit Check
25-
uses: jpetrucciani/[email protected]
26-
continue-on-error: true
25+
uses: jpetrucciani/bandit-check@master
26+
with:
27+
path: "./jwql/"
28+
bandit_flags: "-c .bandit"
29+
continue-on-error: false
2730
if: runner.os == 'Linux'
2831

2932
- name: Build jwql conda environment and run tests

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
*.fits
33
*.ipynb_checkpoints/
44
config.json
5+
.DS_Store
56
build/
67
dist/
78
jwql.egg-info/
@@ -12,3 +13,7 @@ docs/source/api/
1213
htmlcov/
1314
*.sqlite3
1415
jwql/website/static/*.csv
16+
jwql/website/apps/jwql/static/filesystem
17+
jwql/website/apps/jwql/static/outputs
18+
jwql/website/apps/jwql/static/preview_images
19+
jwql/website/apps/jwql/static/thumbnails

.readthedocs.yaml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# .readthedocs.yaml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
# Required
5+
version: 2
6+
# Set the version of Python and other tools you might need
7+
build:
8+
os: ubuntu-20.04
9+
tools:
10+
python: "3.9"
11+
# Build documentation in the docs/ directory with Sphinx
12+
sphinx:
13+
configuration: docs/source/conf.py
14+
# If using Sphinx, optionally build your docs in additional formats such as PDF
15+
# formats:
16+
# - pdf
17+
# Optionally declare the Python requirements required to build your docs
18+
python:
19+
install:
20+
- requirements: rtd_requirements.txt

CHANGES.rst

+40
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,43 @@
1+
1.1.0 (2022-04-04)
2+
===================
3+
4+
New Features
5+
------------
6+
7+
Project & API Documentation
8+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
9+
10+
- Adding RTD Requirements file and yml
11+
- Updated JDOX links so they don't produce 404 errors
12+
- Updates to About page
13+
14+
15+
Web Application
16+
~~~~~~~~~~~~~~~
17+
18+
- Speed up Webapp loading
19+
- Stripped code for creating mosaic preview images
20+
- Ignoring unuseful pipeline products
21+
- Updated feature desciption on EDB page
22+
- Closed all open sessions to db explicitly
23+
- Fix/Modify Integration Number slider
24+
- Switch filesystem and astroquery.mast to point to OPS
25+
- Updates to BANDIT CI
26+
- Made plotting limits robust to missing data
27+
- Removing reliance on jwst-dms-edb
28+
- Updated MIRI Readout Patterns
29+
- Updated "Filter By" Dropdown in Archive View
30+
- Plot non-numerical mnemonic dataset
31+
32+
33+
``jwql`` Repository
34+
~~~~~~~~~~~~~~~~~~~
35+
36+
- Removed python 3.7 support
37+
- Added python 3.9 environment
38+
- Updated README to reflect changes in environment files.
39+
40+
141
1.0.0 (2021-10-05)
242
===================
343

README.md

+19-22
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515

1616

1717
The JWST Quicklook Application (`JWQL`) is a database-driven web application and automation framework for use by the JWST instrument teams to monitor and trend the health, stability, and performance of the JWST instruments. The system is comprised of the following:
18-
1. A network file system that stores all uncalibrated and calibrated data products on disk in a centrally-located area, accessible to instrument team members (MAST data cache)
18+
1. A network file system that stores all uncalibrated and calibrated data products on disk in a centrally-located area, accessible to instrument team members (i.e. the MAST data cache)
1919
2. A relational database that stores observational metadata allowing for data discovery via relational queries (MAST database API).
2020
3. A software library that provides tools to support an automation framework in which to build automated instrument monitoring routines.
2121
4. A web application that allows users to visually inspect new and archival JWST data as well as instrument-specific monitoring and performance results.
2222

2323
Official API documentation can be found on [ReadTheDocs](https://jwql.readthedocs.io)
2424

25-
The `jwql` application is currently under heavy development. The `1.0` release is expected in 2021. Currently, a development version of the web application can be found at [https://dljwql.stsci.edu](https://dljwql.stsci.edu).
25+
The `jwql` application is available at [https://jwql.stsci.edu](https://jwql.stsci.edu). Please note that the application is currently restricted to specific JWST instrument team members.
2626

2727
## Installation for Users
2828

@@ -44,7 +44,7 @@ Getting `jwql` up and running on your own computer requires four steps, detailed
4444

4545
### Prerequisites
4646

47-
It is highly suggested that contributors have a working installation of `anaconda` or `miniconda` for Python 3.7. Downloads and installation instructions are available here:
47+
It is highly suggested that contributors have a working installation of `anaconda` or `miniconda` for Python 3.8. Downloads and installation instructions are available here:
4848

4949
- [Miniconda](https://conda.io/miniconda.html)
5050
- [Anaconda](https://www.continuum.io/downloads)
@@ -69,7 +69,7 @@ instead, and then proceed as stated.
6969

7070
### Environment Installation
7171

72-
Following the download of the `jwql` repository, contributors can then install the `jwql` `conda` environment via the environment yaml file, which contains all of the dependencies for the project. First, ensure that your version of `conda` is up to date:
72+
Following the download of the `jwql` repository, contributors can then install the `jwql` `conda` environment via the environment yaml file, which contains all of the dependencies for the project. First, if necessary, [install `conda`](https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html). Next, ensure that your version of `conda` is up to date:
7373

7474
```
7575
conda update conda
@@ -81,26 +81,19 @@ Next, activate the `base` or `root` environment (depending on your version of `c
8181
source activate base/root
8282
```
8383

84-
Lastly, create the `jwql` environment via the `environment_python_3_7.yml` file:
84+
**Note:** If you have added a step activating conda to your default terminal/shell (e.g. the `.bashrc`, `.zshrc`, or `.profile` file) then you don't need to do the above step.
8585

86-
```
87-
conda env create -f environment_python_3_7.yml --name jwql-3.7
88-
```
89-
90-
### Package Installation
91-
92-
Next, you need to install the `jwql` package under development mode. This can be accomplished either by running the `setup.py` script, or `pip install` with the `-e` option:
86+
Lastly, create the `jwql` environment via one of the `environment.yml` files (currently `environment_python_3_8.yml`, for python 3.8, and `environment_python_3.9.yml`, for python 3.9, are supported by `jwql`):
9387

9488
```
95-
python setup.py develop
89+
conda env create -f environment_python_3_8.yml
9690
```
9791

9892
or
9993

10094
```
101-
pip install -e .
95+
conda env create -f environment_python_3.9.yml
10296
```
103-
The package should now appear if you run `conda list jwql`.
10497

10598
### Configuration File
10699

@@ -112,7 +105,9 @@ Much of the `jwql` software depends on the existence of a `config.json` file wit
112105
If you use `JWQL` for work/research presented in a publication (whether directly,
113106
or as a dependency to another package), we recommend and encourage the following acknowledgment:
114107

115-
This research made use of the open source Python package JWQL (Bourque et al, 2020).
108+
```
109+
This research made use of the open source Python package 'jwql' (Bourque et al, 2020).
110+
```
116111

117112
where (Bourque et al, 2020) is a citation of the Zenodo record available using the DOI badge above. By using the `Export` box in the lower right corner of the Zenodo page, you can export the citation in the format most convenient for you.
118113

@@ -127,7 +122,7 @@ The following is a bare-bones example of a best work flow for contributing to th
127122

128123
1. Create a fork off of the `spacetelescope` `jwql` repository.
129124
2. Make a local clone of your fork.
130-
3. Ensure your personal fork is pointing `upstream` properly.
125+
3. Ensure your personal fork is [pointing `upstream` properly](https://docs.github.com/en/free-pro-team@latest/github/collaborating-with-issues-and-pull-requests/configuring-a-remote-for-a-fork).
131126
4. Create a branch on that personal fork.
132127
5. Make your software changes.
133128
6. Push that branch to your personal GitHub repository (i.e. `origin`).
@@ -155,19 +150,21 @@ Any questions about the `jwql` project or its software can be directed to `jwql@
155150

156151

157152
## Current Development Team
158-
- Matthew Bourque (INS) [@bourque](https://github.com/bourque)
153+
- Bryan Hilbert (Project Manager, INS) [@bilhbert4](https://github.com/bhilbert4)
154+
- Mees Fix (Technical Lead, INS) [@mfixstsci](https://github.com/mfixstsci)
159155
- Misty Cracraft (INS) [@cracraft](https://github.com/cracraft)
160156
- Mike Engesser (INS) [@mengesser](https://github.com/mengesser)
161-
- Mees Fix (INS) [@mfixstsci](https://github.com/mfixstsci)
162-
- Bryan Hilbert (INS) [@bilhbert4](https://github.com/bhilbert4)
163-
- Graham Kanarek (INS) [@gkanarek](https://github.com/gkanarek)
164-
- Teagan King (INS) [@tnking97](https://github.com/tnking97)
157+
- Shannon Osborne (INS) [@shanosborne](https://github.com/shanosborne)
165158
- Maria Pena-Guerrero [@penaguerrero](https://github.com/penaguerrero)
166159
- Ben Sunnquist (INS) [@bsunnquist](https://github.com/bsunnquist)
160+
- Brian York (INS) [@york-stsci](https://github.com/york-stsci)
167161

168162
## Past Development Team Members
163+
- Matthew Bourque (INS) [@bourque](https://github.com/bourque)
169164
- Lauren Chambers (INS) [@laurenmarietta](https://github.com/laurenmarietta)
170165
- Joe Filippazzo (INS) [@hover2pi](https://github.com/hover2pi)
166+
- Graham Kanarek (INS) [@gkanarek](https://github.com/gkanarek)
167+
- Teagan King (INS) [@tnking97](https://github.com/tnking97)
171168
- Sara Ogaz (DMD) [@SaOgaz](https://github.com/SaOgaz)
172169
- Catherine Martlin (INS) [@catherine-martlin](https://github.com/catherine-martlin)
173170
- Johannes Sahlmann (INS) [@Johannes-Sahlmann](https://github.com/johannes-sahlmann)

docs/source/bokeh_templating.rst

-21
This file was deleted.

docs/source/index.rst

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ API documentation
2222
:maxdepth: 1
2323
:caption: Contents:
2424

25-
bokeh_templating.rst
2625
common_monitors.rst
2726
database.rst
2827
edb.rst

docs/source/jwql_monitors.rst

+12-12
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,6 @@
22
jwql_monitors
33
*************
44

5-
monitor_cron_jobs.py
6-
--------------------
7-
.. automodule:: jwql.jwql_monitors.monitor_cron_jobs
8-
:members:
9-
:undoc-members:
10-
11-
monitor_filesystem.py
12-
---------------------
13-
.. automodule:: jwql.jwql_monitors.monitor_filesystem
14-
:members:
15-
:undoc-members:
16-
175
generate_preview_images.py
186
--------------------------
197
.. automodule:: jwql.jwql_monitors.generate_preview_images
@@ -26,6 +14,18 @@ generate_proposal_thumbnails.py
2614
:members:
2715
:undoc-members:
2816

17+
monitor_cron_jobs.py
18+
--------------------
19+
.. automodule:: jwql.jwql_monitors.monitor_cron_jobs
20+
:members:
21+
:undoc-members:
22+
23+
monitor_filesystem.py
24+
---------------------
25+
.. automodule:: jwql.jwql_monitors.monitor_filesystem
26+
:members:
27+
:undoc-members:
28+
2929
monitor_mast.py
3030
---------------
3131
.. automodule:: jwql.jwql_monitors.monitor_mast

docs/source/tests.rst

-6
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@ test_bias_monitor.py
2020
:members:
2121
:undoc-members:
2222

23-
test_bokeh_templating
24-
---------------------
25-
.. automodule:: jwql.tests.test_bokeh_templating
26-
:members:
27-
:undoc-members:
28-
2923
test_calculations.py
3024
--------------------
3125
.. automodule:: jwql.tests.test_calculations

docs/source/website.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ api_views.py
88
:members:
99
:undoc-members:
1010

11+
bokeh_dashboard.py
12+
------------------
13+
.. automodule:: jwql.website.apps.jwql.bokeh_dashboard
14+
:members:
15+
:undoc-members:
16+
1117
context_processors.py
1218
---------------------
1319
.. automodule:: jwql.website.apps.jwql.context_processors
@@ -44,12 +50,6 @@ monitor_views.py
4450
:members:
4551
:undoc-members:
4652

47-
oauth.py
48-
--------
49-
.. automodule:: jwql.website.apps.jwql.oauth
50-
:members:
51-
:undoc-members:
52-
5353
settings.py
5454
-----------
5555
.. automodule:: jwql.website.jwql_proj.settings

environment_python_3_7.yml

-43
This file was deleted.

0 commit comments

Comments
 (0)