Skip to content

Packaging cleanup and tesswcs migration - #47

Merged
CheerfulUser merged 3 commits into
mainfrom
dev
Aug 5, 2026
Merged

Packaging cleanup and tesswcs migration#47
CheerfulUser merged 3 commits into
mainfrom
dev

Conversation

@CheerfulUser

Copy link
Copy Markdown
Owner

Summary

  • Removed stray tracked files (an editor backup file and a stray "web
    path" file) and a stale MANIFEST.in entry referencing a data file
    that no longer exists.
  • Replaced sector_mjd.csv (a manually-maintained sector time-window
    table) and the tess-point dependency with tesswcs, which ships an
    actively maintained pointing table and supersedes tess-point for
    sector/camera/CCD lookups. Verified against tess-point's prior
    output for a reference target and added regression tests for the
    new lookup helpers.

Ryan Ridden added 3 commits August 6, 2026 10:45
tessreduce/#__init__.py# (an editor backup file) and tessreduce/web
path were accidentally committed and aren't part of the package.
calspec_mags.npy is listed in MANIFEST.in but no longer exists on
disk. None of these are referenced by any code.
sector_mjd.csv required manual updates every time new sectors were
scheduled (most recently extended through sector 107 by hand). It's
replaced by tesswcs.pointings, which ships an actively maintained
sector pointing table (currently covering archived and predicted
sectors through 121) so this no longer needs repo maintenance.

Also replaces tess_stars2px_function_entry (the tess-point package)
with a tesswcs-based sector/camera/CCD lookup (WCS.from_sector +
footprint_contains), since tesswcs supersedes tess-point and this
avoids depending on both. Verified against tess-point's output for a
reference target (same sectors/camera/CCD, pixel coords within ~2px).

Adds tests for the two new helpers (_tess_pointing_table,
_target_sectors) covering table structure, a known sector's start
time, expected sector matches for a reference target, and array
alignment/pixel bounds.
Classifiers listed Python 3.6 despite python_requires>=3.9 and no
newer versions; replaced with 3.9-3.12 and dropped the untested PyPy
classifier. Pinned tesswcs>=1.8 since the sector lookup relies on
WCS.from_sector/footprint_contains, both confirmed present at 1.8.15.
README image links were relative paths that render broken on PyPI's
project page (which doesn't rewrite them like GitHub does); switched
to raw.githubusercontent.com URLs.
@CheerfulUser
CheerfulUser merged commit 91bdc15 into main Aug 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant