Skip to content

Transcribe of ceiling_species of solve_rate_cool_g#44

Open
ChristopherBignamini wants to merge 750 commits into
brittonsmith:gen2024from
ChristopherBignamini:gen2024_transcribe_ceiling_species
Open

Transcribe of ceiling_species of solve_rate_cool_g#44
ChristopherBignamini wants to merge 750 commits into
brittonsmith:gen2024from
ChristopherBignamini:gen2024_transcribe_ceiling_species

Conversation

@ChristopherBignamini

Copy link
Copy Markdown

No description provided.

brittonsmith and others added 30 commits May 22, 2025 11:54
…tweak

cython does not need to be a runtime-dependency
…nstruction-tweaks

Pygrackle test instruction tweaks
…Warnings

Enable Compiler Warnings in a CI job
…lding_length_fix

H2 self shielding length scale factor fix
Superficial Website Documentation Tweaks
[newchem-cpp] Minor model test refactor and adding model comparison option
…eaks

address the remaining compiler warnings
Relocated all CMake-dependency-information into dependencies.cmake
[newchem-cpp] Attempted merge of newchem-cpp with main
By adding this file, GitHub adds a nicely labeled tab when you scroll
down to the README

Numpy and Scipy both do something similar (but I'm honestly not sure
where the file that does this is in the Numpy repository)
This is an extremely popular theme. While I really like how it looks, that's not my main motivation.

My motivation is formatting of wide-tables
- this is a problem with the ReadTheDocs theme.
  - The RTD theme made a deliberate design decision to make all wide tables scrollable (rather than supporting wraparound) without a straight-forward way to disable it.
  - This is a long-standing problem. See this 10 year old issue, readthedocs/sphinx_rtd_theme#117.
  - While this issue suggests some workarounds (we actually use one of them in Enzo-E), there are some flaws with them.[^1]
- In comparison, the furo theme handles wide tables much more elegantly.

To compare them, see the table at the top of the page titled "Integrating Grackle into your Application"

If we dislike Furo, we can just stick with ReadTheDocs. I can try my hand at implementing the fix again. (I just thought I would suggest this patch before adopting a slightly hacky solution)

[^1]: I actually tried adding one of the fixes to Grackle like 9 months ago, and there was an issue. I'm fuzzy on the details. I think it had to do with sizing of the table on different devices (and it was inconsistent between local builds and a ReadTheDocs build).
mabruzzo and others added 29 commits August 14, 2025 13:50
The *Great Renaming:* `gracklepy` edition
…e/initial-step_rate_newton_raphson

[newchem-cpp] initial transcription of `step_rate_newton_raphson`
…' into gen2024transcribe/solve_rate_cool-refactor
…' into gen2024transcribe/lookup_cool_rates0d
…2024transcribe/calc_temp_cloudy_g

I needed to introduce the bugfix from PR grackle-project#367.
Background
----------

Previously we had replaced 99% uses of the Flake8 linter with the Ruff
linter (not to be confused with the Ruff formatter). We had continued to
use the Flake8 linter to deal with the following 2 files:

1. **gracklepy/utilities/testing.py**
2. **gracklepy/__init__.py**

In more detail, we were suppressing certain warnings in these 2 files
from Flake8, and transistioning to using the Ruff formatter for these
files would involve making a few changes.

More recently PRs grackle-project#368 and grackle-project#369 introduced the required changes into the
main branch. Now that those changes have been ported to the newchem-cpp
branch, we are able to make this change.

What Changed
------------

I essentially changed 3 things:

1. We no longer install and use flake8 in the continuous integration
2. I removed the **setup.cfg** file (it was **only** being used to track
   flake8 configuration information
3. I needed to tweak **pyproject.toml** to both:
   - stop excluding the **gracklepy/utilities/testing.py** and
     **gracklepy/__init__.py** files from the linter
   - stop listing flake8 as a development dependency
…e/step_rate_newton_raphson-cleanup-1of2

[newchem-cpp] `step_rate_newton_raphson` cleanup (1/2)
…e/solve_rate_cool-refactor

[newchem-cpp] light refactoring of `solve_rate_cool`
[newchem-cpp] Remove last references to `Flake8`
…_dust' into gen2024_transcribe_ceiling_species
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.

4 participants