Skip to content

Backmerge 1.8.0 - #418

Open
rozyczko wants to merge 1 commit into
developfrom
master
Open

rozyczko wants to merge 1 commit into
developfrom
master

Conversation

@rozyczko

Copy link
Copy Markdown
Member

backmerge

* Polarized channels (#393)

* initial version

* added magnetic SLD profile

* added magnetic parameters

* code review comments addressed

* code review fixes for Phase 2, added notebook

* PR code review comments

* fixed polarized file load issue

* enable magnetic layers

* new LayerMagnetism component

* ruff

* ruff on notebooks

* bind calculator to model for performance

* attempt at fixing package testing

* package tests only on master

* don't run ruff twice

* code review fixes

* added polarized fitting example/notebook

* fixed default sample generation

* improved wording in the magnetic fitting notebook

* move the most expensive test to integration

* dont show 0.0 for parameter errors where no fitting was done (#397)

* removed vestiges of BA (#394)

* Improved constraints + doc migration (#400)

* initial version

* added magnetic SLD profile

* added magnetic parameters

* ruff

* code review comments addressed

* code review fixes for Phase 2, added notebook

* ruff

* PR code review comments

* fixed polarized file load issue

* enable magnetic layers

* new LayerMagnetism component

* ruff

* ruff on notebooks

* bind calculator to model for performance

* attempt at fixing package testing

* package tests only on master

* don't run ruff twice

* code review fixes

* added polarized fitting example/notebook

* fixed default sample generation

* improved wording in the magnetic fitting notebook

* move the most expensive test to integration

* Improved constraints (#395)

* improved handling of constraints

* ruff

* wording

* additional cell in a notebook to showcase the new way of doing
constraints

* fixed notebook

* initial checkin

* .bounds -> min, max

* updates so the code is self-contained and doesn't depend on changes to
core

* Code review comments addressed

* Updated docs (#398)

* move everything to MKDocs

* ruff fix for notebook

* Fix broken conflict resolutions from develop merge

* code review issues addressed

* removed explicit EasyCore constraints factory reliance

* Orso improvements (#402)

* initial commit

* code review fixes

* more unit tests for orso functionality

* Enable SLD dependence on material data (#403)

* enable SLD dependence on material data

* extending methods for use in ERA

* code review issues addressed

* make molecular weight a descriptor

* Improvements to the state tracking #401 (#405)

* Improvements to the state tracking #401

* PR issues addressed

* minor ruff NOQA

* reparent to develop of core and fixed the functionality

* minor material editor fix (#408)

* fix default elements (#410)

* 378 remove datastore (#409)

* Removed DataStore

* Added exception when file exists and overwrite=false (#411)

* fix the multi-column load #376 (#413)

* fix the multi-column load #376

* preparations for the release

* updated EasyScience dep

* pre-release doc fixes
@rozyczko rozyczko added chore Chore changes to the code [scope] maintenance Code/tooling cleanup, no feature or bugfix (major.minor.PATCH) [priority] high Should be prioritized soon labels Sep 21, 2026
@codecov

codecov Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.29828% with 93 lines in your changes missing coverage. Please review.
✅ Project coverage is 94.57%. Comparing base (576d45b) to head (831fb03).
⚠️ Report is 23 commits behind head on develop.

Files with missing lines Patch % Lines
src/easyreflectometry/project.py 95.11% 27 Missing ⚠️
src/easyreflectometry/orso_utils.py 94.87% 16 Missing ⚠️
src/easyreflectometry/inequality_constraints.py 94.00% 12 Missing ⚠️
src/easyreflectometry/summary/summary.py 81.25% 12 Missing ⚠️
src/easyreflectometry/data/polarized.py 95.27% 6 Missing ⚠️
...rc/easyreflectometry/calculators/refl1d/wrapper.py 95.72% 5 Missing ⚠️
src/easyreflectometry/constraints.py 96.38% 3 Missing ⚠️
src/easyreflectometry/data/measurement.py 90.00% 3 Missing ⚠️
...ctometry/sample/elements/layers/layer_magnetism.py 91.66% 3 Missing ⚠️
src/easyreflectometry/_bumps_constraints.py 95.74% 2 Missing ⚠️
... and 3 more
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##           develop     #418       +/-   ##
============================================
+ Coverage    51.13%   94.57%   +43.44%     
============================================
  Files           48       54        +6     
  Lines         3849     5515     +1666     
============================================
+ Hits          1968     5216     +3248     
+ Misses        1881      299     -1582     
Flag Coverage Δ
integration 38.33% <30.13%> (+6.71%) ⬆️
unittests 94.57% <95.29%> (+44.56%) ⬆️

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

Files with missing lines Coverage Δ
src/easyreflectometry/__init__.py 88.88% <100.00%> (+13.88%) ⬆️
src/easyreflectometry/analysis/bayesian.py 97.05% <100.00%> (+83.25%) ⬆️
src/easyreflectometry/calculators/__init__.py 66.66% <100.00%> (+1.96%) ⬆️
...c/easyreflectometry/calculators/calculator_base.py 100.00% <100.00%> (+12.19%) ⬆️
src/easyreflectometry/calculators/polarization.py 100.00% <100.00%> (ø)
...easyreflectometry/calculators/refl1d/calculator.py 100.00% <ø> (+18.18%) ⬆️
src/easyreflectometry/calculators/refnx/wrapper.py 100.00% <ø> (+14.51%) ⬆️
src/easyreflectometry/calculators/wrapper_base.py 100.00% <100.00%> (+12.50%) ⬆️
src/easyreflectometry/data/__init__.py 100.00% <100.00%> (ø)
src/easyreflectometry/data/data_store.py 100.00% <ø> (+35.71%) ⬆️
... and 24 more

... and 13 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Chore changes to the code [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.

1 participant