Skip to content

Skpkg: update pyobjcryst #52

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

Closed
wants to merge 8 commits into from
Closed

Conversation

Tieqiong
Copy link

@sbillinge please check, thanks!

Fix pcmt
Rewrite SCons so now fast/debug builds for development is back, add a bit documentations
Migrate deprecated calls on matplotlib, pkg_resources, libobjcryst, distutils
Update to skpkg standard

Tieqiong added 8 commits July 17, 2025 17:53
Migrate deprecated calls on matplotlib,
    pkg_resources, pyobjcryst, distutils
pcmt: simple pre-commit hook fixes
__init__:
    noqa: F401 on gTopRefinableObjRegistry
    import. Removing it will cause potential api
    breakage on downstream users. Also Exist at
    pyobjcryst.globals

crystal.py:
    Add except type (AttributeError)
    at UpdateDisplay(self) to avoid E722.

fourier.py:
    noqa E741 on ambigous variable
    name 'l'. (hkl)

globaloptim.py:
    clarify refinableobj imports

lsq.py:
    Expose LSQ from c++ extension

powderpattern.py:
    Add except type (AttributeError)
    at UpdateDisplay(self) to avoid E722.

    Add except type (AttributeError, RuntimeError, ValueError)
    at plot() (Force immediate display) with
    warning messages "Plot refresh failed..."

    Add except type (AttributeError, RuntimeError)
    at _do_plot_hkl (Force immediate display). Nested

utils.py:
    change lambda function to def
@Tieqiong Tieqiong mentioned this pull request Jul 20, 2025
@Tieqiong
Copy link
Author

seems like upstream/migrate is not clean. Will make a new PR to main! replaced by #53

@Tieqiong Tieqiong closed this Jul 20, 2025
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