Chore/rename dir name#20
Merged
Merged
Conversation
…leaf_contour_efd chore: rename internal package to leaf_contour_efd with compatibility shims
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.
This pull request migrates the project from the old
leaf_shape_toolpackage to the newleaf_contour_efdpackage, makingleaf_contour_efdthe primary package for the leaf shape analysis workflow. It introduces backward compatibility shims to allow users to continue using the old package name with deprecation warnings, updates all entry points and documentation, and moves the main application logic to the new package.Key changes include:
Migration to
leaf_contour_efd:leaf_shape_tooltoleaf_contour_efd, with updated script and module references throughout the project. (build.spec,pyproject.toml,website/installation.qmd, [1] [2] [3]src/leaf_contour_efd/main.pyandsrc/leaf_contour_efd/__main__.py, which initialize the Napari viewer and integrate all custom widgets for interactive leaf image analysis. [1] [2] [3]Backward compatibility and deprecation:
leaf_shape_toolpackage now acts as a wrapper, importing everything fromleaf_contour_efdand issuing deprecation warnings when used as a module or entry point, to guide users toward the new package. (src/leaf_shape_tool/__init__.py,src/leaf_shape_tool/__main__.py,src/leaf_shape_tool/main.py, [1] [2] [3]Documentation and user guidance:
Overall, this update ensures a smooth transition to the new package name while maintaining backward compatibility for existing users.