Skip to content

Skpkg: update pyobjcryst - #52

Closed
Tieqiong wants to merge 8 commits into
diffpy:migrationfrom
Tieqiong:skpkg
Closed

Skpkg: update pyobjcryst#52
Tieqiong wants to merge 8 commits into
diffpy:migrationfrom
Tieqiong:skpkg

Conversation

@Tieqiong

Copy link
Copy Markdown
Contributor

@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

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
@TieqiongTieqiong mentioned this pull request Jul 20, 2025
@Tieqiong

Copy link
Copy Markdown
ContributorAuthor

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

Sign up for freeto 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

@Tieqiong