Skip to content

Remove the non-functional plot_results_slope_centrality module - #99

Merged
mmacferrin merged 2 commits into
mainfrom
remove-slope-centrality
Sep 1, 2026
Merged

Remove the non-functional plot_results_slope_centrality module#99
mmacferrin merged 2 commits into
mainfrom
remove-slope-centrality

Conversation

@mmacferrin

@mmacferrin mmacferrin commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Removes src/ivert/plot_results_slope_centrality.py.

It was non-functional

The module could not be imported at all. Its first statement is:

import import_parent_dir

import_parent_dir does not exist anywhere in the package or its dependencies, so any attempt to load the module raised ModuleNotFoundError. This is pre-existing — it fails identically on main, and has for as long as that import has been there. It surfaced during #98, where the module was included in the ICN001 rewrite only so the rule could be enabled.

Nothing referenced it

  • No imports anywhere in the package
  • No entry point in pyproject.toml
  • No mention in the docs

The only matches for the name in the whole repository were the module's own function definition and its own call site, inside the file itself. It is also no longer part of the analysis workflow.

Verification

The rest of the package imports cleanly, ivert --help works, ivert.plot_results_slope_centrality is correctly gone from the editable install, and the full prek suite passes.

A local copy has been kept outside the repository, so the code is not lost.


🔍 Docs preview: https://ivert--99.org.readthedocs.build/en/99/

The module could not be imported at all: its first statement is
`import import_parent_dir`, a module that does not exist anywhere in the
package or its dependencies, so any attempt to load it raised
ModuleNotFoundError. That has been true on main for as long as the
import has been there.

Nothing referenced it -- no imports, no entry point in pyproject.toml, no
mention in the docs -- and it is no longer part of the analysis workflow.
A local copy has been kept outside the repository.
Records why it went: non-functional and no longer used, rather than a
capability being taken away.
@mmacferrin
mmacferrin merged commit ec810f3 into main Sep 1, 2026
4 checks passed
@mmacferrin
mmacferrin deleted the remove-slope-centrality branch September 1, 2026 20:55
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