Fix logging levels and improve screen output via repr#247
Draft
spossann wants to merge 21 commits into
Draft
Conversation
…g level INFO) by using __repr__ methods
…eters which is passed to PICVariable.set_markers()
…rs that is passed to PICVariable.set_markers()
…__repr__ method. This is shown when the options setter is called. Only a ahnd full of propagators have been adapted yet.
… by excluding the non-pickleable runtime kernel wrapper from serialized state and rebuilding it deterministically. What I changed Added Domain serialization/copy hooks in base.py: Internal rebuild path: _build_args_domain _can_build_args_domain _rebuild_args_domain Deep copy support: deepcopy now deep-copies regular state, skips _args_domain, then rebuilds _args_domain. Pickle support: getstate removes _args_domain from state. setstate restores state then rebuilds _args_domain. Defensive runtime access: args_domain property now lazily rebuilds if missing/None and raises a clear error if state is incomplete. Added regression tests in test_domain.py: test_domain_deepcopy for Cuboid and IGAPolarCylinder. test_domain_pickle_roundtrip for Cuboid and IGAPolarCylinder. Both tests verify: reconstructed DomainArguments exists and is separate object numerical evaluation consistency after deepcopy/pickle round-trip
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.
Solves the following issue(s):
Closes #225