Skip to content

Fix three truncated parameter names in docstrings - #1382

Open
dylanpulver wants to merge 1 commit into
GalSim-developers:mainfrom
dylanpulver:fix-truncated-param-names
Open

dylanpulver wants to merge 1 commit into
GalSim-developers:mainfrom
dylanpulver:fix-truncated-param-names

Conversation

@dylanpulver

Copy link
Copy Markdown

Three parameter names in Parameters: blocks are each missing their last character, so they do not match the signature:

  • lensing_ps.py:849 — periodi: where getShear takes periodic
  • nfw_halo.py:289 — po: where getShear takes pos
  • nfw_halo.py:360 — unit: where getConvergence takes units

Padding adjusted to keep the description column.

I did not run a linter: there is no ruff/flake8/black config here, so there was nothing of yours to run. Docstring text only.

🤖 Generated with Claude Code

@rmjarvis

rmjarvis commented Dec 1, 2026

Copy link
Copy Markdown
Member

I'm not taking PRs for the 2.8 series anymore. Rebase this against main.

PowerSpectrum.getShear documents periodi, NFWHalo.getShear documents po,
and NFWHalo.getConvergence documents unit. The arguments are periodic,
pos and units.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@dylanpulver
dylanpulver force-pushed the fix-truncated-param-names branch from 19a4dc0 to 6721ce9 Compare December 1, 2026 03:20
@dylanpulver
dylanpulver changed the base branch from releases/2.8 to main December 1, 2026 03:20
@dylanpulver

Copy link
Copy Markdown
Author

Done — rebased onto main and retargeted the base. Same three renames, one commit, 2 files, +3/-3.

For what it's worth the three truncations were present on main as well, at the same lines — lensing_ps.py and nfw_halo.py are byte-identical between main and releases/2.8 — so nothing was dropped in the move.

This branch has not been deployed

No deployments
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.

2 participants