James Davies

Results 29 issues of James Davies

Add a workflow using https://github.com/spacetelescope/action-publish_to_pypi/ to auto-publish releases to PyPI. We should consider adding it to all the `asdf-format` repos that need PyPI publishing. Note the above action has been...

`asdf.open()` barfs when passed an open HDUList. See the following: ``` In [5]: with fits.open("jw42424001001_01101_00001_nrca5_cal.fits") as hdulist: ...: with asdf.open(hdulist) as af: ...: print(af.info()) ...: --------------------------------------------------------------------------- ValueError Traceback (most recent...

The following test illustrates: ```python # test_open_fail.py from pathlib import Path import asdf import pytest def test_asdf(tmp_path): path = tmp_path / "empty.asdf" Path(path).touch() with asdf.open(path) as af: pass ``` When...

Currently the `asdf` schema tester pytest plugin is a little wordy. https://travis-ci.org/spacetelescope/asdf/jobs/563063725 Perhaps use `__tracebackhide__ = True` or something similar to clean up up the failure reporting if possible.

enhancement
testing

If I have a schema ``` %YAML 1.1 --- $schema: "http://json-schema.org/draft-04/schema" id: "http://stsci.edu/schemas/jwst_datamodel/my.schema" type: object properties: date: title: "[yyyy-mm-ddThh:mm:ss.ss] UTC date file created" type: string $ref: "another.schema" ... ``` and...

Resolves #5643 / [JP-1865](https://jira.stsci.edu/browse/JP-1865) **Description** This PR converts the README from markdown format to restructured text format. This allows it to be broken up into pieces and the general information...

documentation

The CRDS setup says https://github.com/spacetelescope/jwst/blob/abd9b566e4e12fad17c2ba30850fc98a91594c92/README.md?plain=1#L160-L164 It's not clear here in the text what if any the differences are. Though looking at the contexts on the two servers, different contexts map...

When a step or pipeline is run from the command line via `strun`, it does not respect `--save_results=False` for the single step, or in the case of the pipeline, the...

bug
stpipe

Currently the 2D rectified `_s2d` output from `Spec2Pipeline` is written out with a GWCS object for computing WCS. But since this is now rectified, it would be useful to represent...

wcs
team_periwinkle
resample_spec

If the `jwst` package is not installed, the JWST loaders emit the following warning when loading the files as `asdf` to read some of the metadata and WCS info: ```...