Skip to content

Chore/rename dir name#20

Merged
maple60 merged 3 commits into
mainfrom
chore/rename-dir-name
Apr 2, 2026
Merged

Chore/rename dir name#20
maple60 merged 3 commits into
mainfrom
chore/rename-dir-name

Conversation

@maple60

@maple60 maple60 commented Apr 2, 2026

Copy link
Copy Markdown
Owner

This pull request migrates the project from the old leaf_shape_tool package to the new leaf_contour_efd package, making leaf_contour_efd the 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:

  • All main entry points, including the command-line interface and Napari-based GUI, have been moved from leaf_shape_tool to leaf_contour_efd, with updated script and module references throughout the project. (build.spec, pyproject.toml, website/installation.qmd, [1] [2] [3]
  • The main application logic is now in src/leaf_contour_efd/main.py and src/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:

  • The old leaf_shape_tool package now acts as a wrapper, importing everything from leaf_contour_efd and 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:

  • Installation and usage instructions have been updated to reference the new package name and entry points.

Overall, this update ensures a smooth transition to the new package name while maintaining backward compatibility for existing users.

@maple60
maple60 merged commit 6954789 into main Apr 2, 2026
5 checks passed
@maple60
maple60 deleted the chore/rename-dir-name branch April 2, 2026 00:45
@maple60
maple60 restored the chore/rename-dir-name branch April 2, 2026 00:47
@maple60
maple60 deleted the chore/rename-dir-name branch April 2, 2026 00:50
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