Skip to content

Remove unused files and dead code - #234

Open
rogeriojorge wants to merge 2 commits into
mainfrom
slim/remove-unused-files
Open

rogeriojorge wants to merge 2 commits into
mainfrom
slim/remove-unused-files

Conversation

@rogeriojorge

@rogeriojorge rogeriojorge commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Removes examples/input_files/input.rotating_ellipse and input.toroidal_surface. 2 files, -42 lines (125 -> 123 tracked files, 62496 -> 62454 lines).

Why

Nothing in the tree references either file (git grep for both names is empty).

Checks

  • tests/test_surface_cross_section.py, test_constants.py, test_cpu_devices.py: 17 passed, -n 2, JAX_ENABLE_X64=1.
  • The full suite did not finish locally (laptop load 150); the removed files are not read by any test or example.

Not included

Other dead code found with vulture (toroidal_flux, poloidal_flux, nested_lists_to_array, signed_distance_from_surface_extras, plot_scalar_on_flux_surface, roots_scipy, unused imports in dynamics.py and multiobjectiveoptimizer.py, BOLTZMANN, HBAR) sits in files that open PRs #182, #193, #228 and #223 already rewrite, so it is left to avoid conflicts. #193 already removes the util.py, constants.py, multiobjectiveoptimizer.py and UnsafeBrownianPath items.

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