refactor: archive quantity package to autolens_workspace_developer/legacy#437
Merged
Conversation
…gacy The FitQuantity / AnalysisQuantity / DatasetQuantity stack has no real users and was blocking JAX migration. Removed the quantity/ source tree, re-exports, test directory, config stanzas, docs/api entries, and the fixtures / conftest entries that supported the deleted tests. A frozen copy lives at autolens_workspace_developer/legacy/quantity/ for future restore. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
quantitypackage —FitQuantity,AnalysisQuantity,DatasetQuantity,VisualizerQuantity,PlotterQuantity,ResultQuantity— that has no real users and was blocking JAX porting work.autolens_workspace_developer/legacy/quantity/with README + restore instructions (separate PR on that repo).Changes
Removed:
autogalaxy/quantity/— source tree (10 files)test_autogalaxy/quantity/— test tree (10 files incl..fitsfixtures)from .quantity.fit_quantity import FitQuantity,... AnalysisQuantity,... DatasetQuantityfromautogalaxy/__init__.pysubplot_fit_quantityre-export fromautogalaxy/plot/__init__.pymake_*_quantity_7x7_*factory functions fromautogalaxy/fixtures.py@pytest.fixtureentries fromtest_autogalaxy/conftest.pyfit_quantity:stanzas fromautogalaxy/config/visualize/plots.yamlandtest_autogalaxy/config/visualize.yamlAnalysisQuantityautosummary entry fromdocs/api/modeling.rstFitQuantityautosummary fromdocs/api/fitting.rstsubplot_fit_quantityautosummary fromdocs/api/plot.rstAnalysisQuantitymention fromautogalaxy/analysis/analysis/analysis.pydocstringFitQuantity,AnalysisQuantitylines fromAGENTS.mdandCLAUDE.mdTest plan
pytest test_autogalaxy/ -x -q— 908 passed in 20sFitQuantity|AnalysisQuantity|DatasetQuantity|subplot_fit_quantity|fit_quantity:|quantity_7x7python -c "import autogalaxy as ag; assert not hasattr(ag, 'FitQuantity')"passes for all three classes +subplot_fit_quantityShip order
This is one of two library PRs that should land before the downstream workspace PRs. Pairs with the PyAutoLens PR (also
feature/archive-quantity-package).🤖 Generated with Claude Code