Skip to content

fix: typo in search for 'combined.bpc' in pck cache files#197

Merged
joemasiero merged 2 commits into
mainfrom
20260528-fix-download-core
May 28, 2026
Merged

fix: typo in search for 'combined.bpc' in pck cache files#197
joemasiero merged 2 commits into
mainfrom
20260528-fix-download-core

Conversation

@faria

@faria faria commented May 28, 2026

Copy link
Copy Markdown
Collaborator

Problem: there is a typo in the filename being searched for in the list of PCK files in the cache which have .bpc extension.

The correct search string is: combined.bpc (not combined.bsp).

Issue: https://github.com/IPAC-SW/kete/issues/15

Problem: there is a typo in the filename being searched for
in the list of PCK files in the cache which have .bpc extension.

The correct search string is: combined.bpc (not combined.bsp).

Issue: IPAC-SW/kete#15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes an incorrect filename substring check when detecting whether the NAIF “combined” PCK (*.bpc) is already present in the local kernel cache, preventing unnecessary re-download attempts. This aligns behavior with the actual .bpc extension used for cached PCK files and addresses issue #15.

Changes:

  • Corrects the cache filename check from combined.bsp to combined.bpc when scanning cached *.bpc files.
  • Bumps project version from 1.1.2 to 1.1.3.
  • Adds an additional author entry in pyproject.toml.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/kete/spice.py Fixes the cached PCK “combined” filename substring check to use .bpc, avoiding unnecessary download logic.
pyproject.toml Updates package metadata (version bump and authors list).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pyproject.toml Outdated
bump both versions

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

@joemasiero joemasiero left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

@joemasiero joemasiero merged commit 3d1748c into main May 28, 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.

3 participants