Skip to content

Give the exported functions single-word names - #75

Merged
barrettp merged 1 commit into
mainfrom
names
Oct 10, 2026
Merged

barrettp merged 1 commit into
mainfrom
names

Conversation

@barrettp

Copy link
Copy Markdown
Member

The exported functions with several words joined by underscores now have one word:

old new
slab_model slab
march_slab, march_zones march (the two forms differ in the number of positional arguments)
abundance_table composition
power_law powerlaw
thermal_bremsstrahlung thermal
level_counts counts
ucalc_constants ucalc
atomic_mass weight
set_constants! constants!
with_constants constants(f, K)

Source, tests, docs and README are renamed. This is a breaking change of the public names. The internal functions that are not exported (e.g. thermal_equilibrium) keep their names. Full suite passes on Julia 1.13 with 8 threads (987 tests) and without the database on 1.10 (119).

🤖 Generated with Claude Code

slab_model -> slab, march_slab and march_zones -> march, abundance_table ->
composition, power_law -> powerlaw, thermal_bremsstrahlung -> thermal,
level_counts -> counts, ucalc_constants -> ucalc, atomic_mass -> weight,
set_constants! -> constants!, with_constants -> constants(f, K).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@barrettp
barrettp merged commit 3371c98 into main Oct 10, 2026
5 checks passed
@barrettp
barrettp deleted the names branch October 10, 2026 17:33
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