Skip to content

removed Legacy directory. Moved NewBase to EasyBase - #343

Merged
rozyczko merged 7 commits into
release-3.0from
new-base-rename
Oct 23, 2026
Merged

rozyczko merged 7 commits into
release-3.0from
new-base-rename

Conversation

@rozyczko

Copy link
Copy Markdown
Member

NewBase -> EasyBase
new_base.py -> easy_base.py

removed Legacy directory with old, decrepit scripts and notebooks

@rozyczko rozyczko added [scope] maintenance Code/tooling cleanup, no feature or bugfix (major.minor.PATCH) [priority] high Should be prioritized soon [area] base classes Changes to or creation of new base classes labels Oct 23, 2026
@codecov

codecov Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.70%. Comparing base (45a26fe) to head (774bbed).
⚠️ Report is 12 commits behind head on release-3.0.

Additional details and impacted files

Impacted file tree graph

@@               Coverage Diff               @@
##           release-3.0     #343      +/-   ##
===============================================
- Coverage        93.78%   92.70%   -1.08%     
===============================================
  Files               48       47       -1     
  Lines             3764     3399     -365     
===============================================
- Hits              3530     3151     -379     
- Misses             234      248      +14     
Flag Coverage Δ
unittests 92.70% <100.00%> (-1.08%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/easyscience/__init__.py 100.00% <ø> (ø)
src/easyscience/base_classes/__init__.py 100.00% <100.00%> (ø)
src/easyscience/base_classes/easy_base.py 98.38% <100.00%> (ø)
src/easyscience/base_classes/easy_list.py 96.89% <100.00%> (ø)
src/easyscience/base_classes/model_base.py 100.00% <100.00%> (ø)
.../easyscience/fitting/minimizers/minimizer_bumps.py 99.30% <100.00%> (-0.05%) ⬇️
...rc/easyscience/fitting/minimizers/minimizer_dfo.py 95.78% <100.00%> (-1.96%) ⬇️
.../easyscience/fitting/minimizers/minimizer_lmfit.py 98.29% <100.00%> (-0.15%) ⬇️
src/easyscience/fitting/samplers/sampler_bumps.py 100.00% <ø> (ø)
src/easyscience/global_object/__init__.py 100.00% <ø> (ø)
... and 7 more

... and 3 files with indirect coverage changes

@rozyczko
rozyczko changed the base branch from removed_undo to release-3.0 October 23, 2026 10:20
@rozyczko
rozyczko marked this pull request as ready for review October 23, 2026 11:24
@rozyczko
rozyczko requested a review from damskii9992 October 23, 2026 11:24

@damskii9992 damskii9992 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small comments again. This stupid persistent useless test 😆

from .serializer_base import SerializerBase

__all__ = [ModelBase, NewBase, EasyList, SerializerBase]
__all__ = [ModelBase, EasyBase, EasyList, SerializerBase]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While fixing this, we should put '' around these, like you're supposed to. Or just remove the \_\_all__ method completely. It's only used to limit the amount of stuff loaded with * imports.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought I did this at some point in one of those recent PRs. I guess not. Thanks for bringing this up.

Comment on lines +69 to +70
def test_no_undo_stack(self):
"""Undo/redo support has been removed from the GlobalObject"""

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Useless test shows up here again 🙃

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how... HOW?

@rozyczko
rozyczko merged commit e1530e3 into release-3.0 Oct 23, 2026
28 checks passed
@rozyczko
rozyczko deleted the new-base-rename branch October 23, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[area] base classes Changes to or creation of new base classes [priority] high Should be prioritized soon [scope] maintenance Code/tooling cleanup, no feature or bugfix (major.minor.PATCH)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants