Skip to content

Commit

Permalink
github action test with python 3.13, minor bug fixes (warnings removed).
Browse files Browse the repository at this point in the history
  • Loading branch information
s-goldman committed Jan 21, 2025
1 parent ec074e0 commit e78e415
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,7 @@ jobs:
- linux: py312-xdist
- linux: py312-devdeps-xdist
- macos: py312-devdeps-xdist
- linux: py313-xdist
- macos: py313-xdist
- linux: py312-cov-xdist
coverage: codecov
4 changes: 3 additions & 1 deletion drizzlepac/updatehdr.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,9 @@ def create_unique_wcsname(fimg, extnum, wcsname):
uniqname = wcsname
else:
# setup pattern to match
rpatt = re.compile(wcsname + '_\d')
if wcsname is None:
raise ValueError("wcsname cannot be None")
rpatt = re.compile(wcsname + r'_\d+')
index = 0
for wname in wnames:
rmatch = rpatt.match(wname)
Expand Down
4 changes: 2 additions & 2 deletions drizzlepac/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -1198,11 +1198,11 @@ def base_taskname(taskname, packagename=None):
packagename : str, None (Default = None)
Package name. It is assumed that a compound task name is formed by
concatenating ``packagename`` + '.' + ``taskname``\ . If ``packagename``
concatenating ``packagename`` + '.' + ``taskname``\\ . If ``packagename``
is not ``None``, :py:func:`base_taskname` will check that the string
to the left of the right-most dot matches ``packagename`` and will
raise an ``AssertionError`` if the package name derived from the
input ``taskname`` does not match the supplied ``packagename``\ . This
input ``taskname`` does not match the supplied ``packagename``\\ . This
is intended as a check for discrepancies that may arise
during the development of the tasks. If ``packagename`` is ``None``,
no such check will be performed.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "drizzlepac"
description = " HST image combination using the drizzle algorithm to combine astronomical images, to model image distortion, to remove cosmic rays, and generally to improve the fidelity of data in the final image. "
requires-python = ">=3.10,<3.13"
requires-python = ">=3.10"
authors = [
{ name = "Megan Sosey" },
{ name = "Warren Hack" },
Expand Down

0 comments on commit e78e415

Please sign in to comment.