Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation and type checking #11

Merged
merged 43 commits into from
Oct 11, 2024

Conversation

jat255
Copy link
Member

@jat255 jat255 commented Oct 11, 2024

Bumps version to 0.9.0

Does a few things primarily:

  • Auto-builds documentation using Github actions
  • Added type-checking to every module (not yet enforced with mypy or anything though)
  • Improved README and updated example Jupyter notebook
  • Added actions runners for tests using both conda (windows, mac, linux) and poetry (linux):
    • can't do CUDA tests unfortunately
    • removed docker container approach from before, so no longer reliant on aaherzing/etspy:latest image from docker hub
  • Updated license to NIST public license
  • Added coverage information (not at 100% yet, that'll come after the TomoStack API changes)

Remaining todos (after this PR):

  • make shifts and tilts properties and update docs/tests to match
  • Complete test coverage and add badge or something to show it
  • Enforce MyPy type checking in Github actions (optional, but probably a good idea)
  • Register ETSpy as a hyperspy extension
  • Build and publish pypi and conda packages

formalize alignment methods into a reusable Enum
Switch to Literal types for strings that have explicit options.
Fix inconsistent optionality of dart_iterations in TomoStack.reconstruct.
re-enable 3.12 tests since pystackreg is on pypi now
and other minor documentation edits (fix circular TomoStack import)
…ectly

(better for API clarity that TomoStack and RecStack should be used instead)
@jat255 jat255 marked this pull request as draft October 11, 2024 16:32
@jat255 jat255 marked this pull request as ready for review October 11, 2024 16:37
@AndrewHerzing AndrewHerzing merged commit 610387f into usnistgov:master Oct 11, 2024
15 checks passed
@jat255 jat255 deleted the build_documentation branch October 29, 2024 23:47
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.

2 participants