Skip to content

moved to EasyApplication module - #305

Merged
rozyczko merged 2 commits into
1.2.0_fixes2from
EasyApplication
Apr 30, 2026
Merged

rozyczko merged 2 commits into
1.2.0_fixes2from
EasyApplication

Conversation

@rozyczko

Copy link
Copy Markdown
Member

This pull request updates the project to use the new EasyApplication package namespace instead of the old EasyApp namespace throughout both the Python backend and QML frontend. It also refactors how the generalizePath utility is accessed in the backend, improving code organization and maintainability.

Migration to EasyApplication namespace:

  • All QML import statements have been updated from EasyApp to EasyApplication to reflect the new package structure, ensuring consistency and preventing import errors in the GUI.

  • Python imports of logging utilities have been updated to use EasyApplication.Logic.Logging instead of EasyApp.Logic.Logging.
    Backend utility refactoring:

  • The generalizePath utility is now accessed via the new IO helper module (IO.generalizePath) instead of being imported directly from EasyApp.Logic.Utils.Utils, improving encapsulation and code clarity.

@rozyczko rozyczko added [scope] maintenance Code/tooling cleanup, no feature or bugfix (major.minor.PATCH) [priority] highest Urgent. Needs attention ASAP labels Apr 30, 2026
@rozyczko
rozyczko merged commit e5dea0b into 1.2.0_fixes2 Apr 30, 2026
16 checks passed
rozyczko added a commit that referenced this pull request Apr 30, 2026
* state reset. changed wording on empty project

* remove dependency on EasyApp footer. Implement locally

* fixed log display for experiment/analysis

* wording on some elements improved
experimental plots colors updated

* update the plot colors in the Analysis chart as well.

* experiment lines should be dotted

* small fix to display proper experiment colors on non-full selections

* make the dotted charts slightly more visible

* errors should have grey foreground, not being editable

* use proper symbol for legend markers

* Win signing (#301)

* try the new action

* turn on all platforms

* replace "backspace" icon with "undo" for axes reset

* initial implementation for lmfit

* added counter display in status bar

* added DFO display - "Fitting running ..." with increasing dot number

* Combine layer and model editors; fix issues in lists (#303)

* accordion groups.
combine layer editor with model editor

* added fixes to other lists

* PR review fixes

* fixed treatment of multilayers

* duplicate/add layer should not append after subphase

* force collapse explicitly

* fix for assembly removal (+test)

* more PR related fixes

* added two standard icons for docs/issues

* can't move subphase and superphase. Can't replace these as well.

* remove redundant section in the report

* Implement scatter series for measured data and synchronize colors with
current experiment

* missed file

* Fixed issue with Sample tab
Added different ways to show experimental data (dots, circles, line)

* properly scaled residuals display

* zero display for residuals, initialization errors fixed.

* replaced `undo` icon with `home` for chart axis reset

* react to changed resolution % in the exp tab

* use easyapplication

* moved to EasyApplication module (#305)

* moved to EasyApplication module

* fixed test

* 1.2.0 -> 1.3.0

* only released modules
rozyczko added a commit that referenced this pull request May 1, 2026
* re-enable plot control widgets on Experiment and Analysis tabs

* properly reset axes in the sample charts on any param change

* reset axes for analysis SLD/Refl plots on parameter change.

* update the status line with correct values

* sample profile on Analysis should include resolution

* refactor SldView so Sample and Analysis get the same display

* logging for minimizer change

* formatting for the error column

* improved constraints check

* added chi2 display in the status bar

* PR review #2

* Allow multiple experiments in a single file.  (#269)

* allow multiple experiments in a single file. Fix the q coordinate in
plots

* mask the zero variance points like it's done in the lib

* Version update in preparation for release (#268)

* updated version string and what's new

* correct ver. #

* updates for the front page of the app

* fixed cases for easyapp modules (#270)

* fixed cases for easyapp modules

* change max iter for minimizers to a more reasonable value (#271)

* Reporting (#278)

* added improved reporting, as in the previous version

* review comments addressed

* Filtering (#279)

* added filtering as in the qt5 branch

* fixed issue with combobox population

* added missing dialog (#281)

* Unit tests (#297)

* added unit tests #1

* moar tests

* add more tests

* fixes after PR review

* removed Certificates, libs and resources/posters (#298)

* Residuals (#300)

* display corrected chi2 in the GUI

* make the Fit button visible all the time

* make sure refl1d actually works

* typo fixed

* attempt at properly adding starting menu item on ubuntu

* enforce axis reset on q-range change. Reparent easyApp

* fixed number of fitted parameters shown in the widget and in the status
bar. Reparented to EDL develop

* changed copyright year from 2025 to 2026

* update model q-range with experimental range

* do not grey out editable min/max values

* propagate model name changes to all tabs

* display assembly name prefix for analysis parameters

* initial version of the residuals display

* more changes to how resituals are presented

* use current experiment by default, not 0th.

* PR review comments addressed

* 1.2.0 fixes (#299)

* display corrected chi2 in the GUI

* make the Fit button visible all the time

* make sure refl1d actually works

* typo fixed

* attempt at properly adding starting menu item on ubuntu

* enforce axis reset on q-range change. Reparent easyApp

* fixed number of fitted parameters shown in the widget and in the status
bar. Reparented to EDL develop

* changed copyright year from 2025 to 2026

* update model q-range with experimental range

* do not grey out editable min/max values

* propagate model name changes to all tabs

* display assembly name prefix for analysis parameters

* merged develop + minor fixes

* 1.2.0 fixes2 (#304)

* state reset. changed wording on empty project

* remove dependency on EasyApp footer. Implement locally

* fixed log display for experiment/analysis

* wording on some elements improved
experimental plots colors updated

* update the plot colors in the Analysis chart as well.

* experiment lines should be dotted

* small fix to display proper experiment colors on non-full selections

* make the dotted charts slightly more visible

* errors should have grey foreground, not being editable

* use proper symbol for legend markers

* Win signing (#301)

* try the new action

* turn on all platforms

* replace "backspace" icon with "undo" for axes reset

* initial implementation for lmfit

* added counter display in status bar

* added DFO display - "Fitting running ..." with increasing dot number

* Combine layer and model editors; fix issues in lists (#303)

* accordion groups.
combine layer editor with model editor

* added fixes to other lists

* PR review fixes

* fixed treatment of multilayers

* duplicate/add layer should not append after subphase

* force collapse explicitly

* fix for assembly removal (+test)

* more PR related fixes

* added two standard icons for docs/issues

* can't move subphase and superphase. Can't replace these as well.

* remove redundant section in the report

* Implement scatter series for measured data and synchronize colors with
current experiment

* missed file

* Fixed issue with Sample tab
Added different ways to show experimental data (dots, circles, line)

* properly scaled residuals display

* zero display for residuals, initialization errors fixed.

* replaced `undo` icon with `home` for chart axis reset

* react to changed resolution % in the exp tab

* use easyapplication

* moved to EasyApplication module (#305)

* moved to EasyApplication module

* fixed test

* 1.2.0 -> 1.3.0

* only released modules

* updated release date and changelog

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Andreas Pedersen <[email protected]>
Co-authored-by: Mads_Pufin <[email protected]>
Co-authored-by: Mads Engstrøm <[email protected]>
Co-authored-by: henrikjacobsenfys <[email protected]>
Co-authored-by: Andreas Pedersen <[email protected]>
Co-authored-by: Andrew Sazonov <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@rozyczko
rozyczko deleted the EasyApplication branch May 21, 2026 13:06
rozyczko added a commit that referenced this pull request Oct 19, 2026
* accordion groups.
combine layer editor with model editor

* added fixes to other lists

* PR review fixes

* fixed treatment of multilayers

* duplicate/add layer should not append after subphase

* force collapse explicitly

* fix for assembly removal (+test)

* more PR related fixes

* added two standard icons for docs/issues

* can't move subphase and superphase. Can't replace these as well.

* remove redundant section in the report

* Implement scatter series for measured data and synchronize colors with
current experiment

* missed file

* Fixed issue with Sample tab
Added different ways to show experimental data (dots, circles, line)

* properly scaled residuals display

* zero display for residuals, initialization errors fixed.

* replaced `undo` icon with `home` for chart axis reset

* react to changed resolution % in the exp tab

* use easyapplication

* moved to EasyApplication module (#305)

* moved to EasyApplication module

* fixed test

* 1.2.0 -> 1.3.0

* only released modules

* updated release date and changelog

* summary prettified (#308)

* summary prettified

* minor fixes after code review

* make links clickable (#310)

* Bayesian analysis (#309)

* initial version.

* updates to the parameter passing

* nice Bayesian sub-tabs display

* add parameter names, add cancellation of sampling, add number of steps
in status bar

* correct parenting

* added required dependencies and modified Fit Status dialog

* add save button to the plots

* added tests for bayesian logic

* attempt at getting posterior median and credibility intervals on the
main chart

* enable/disable legends on bayesian sampling

* reload bumps images on recalculation. Use different caption when running
sampling

* updates and changes, new unit tests and GUI elements. New colors

* fixed typo

* actually sample multiple experiments

* nicer plots

* trace plot - nice display

* updated plots

* changes for the new EasyList based reflectometry-lib

* changes after updates to core

* unit test fixed

* weird conflict

* Bayesian fixes (#332)

* removed MD file, fixed #312

* fixed #313

* Fixed issues #312 - #322
Temporarily commented out code signing

* Addressed issues #323, #324, #325, #326

* addressed #327, #328, #329

* update paths in the Summary textboxes

* minor updates based on the new ERL

* summary results now show correct GoF #375

* reparent to released lib

* fixes from code review (#334)

* updated versioning (#335)

* Preparation for the release (#333) (#336)

* Polar channels (#338)

* initial version - dirty

* reparent ERL

* Code review comments addressed

* fix for file load

* added magnetic layers

* Added polarized experiment import and display

* bugs and issues addressed

* make polarized channels more performant

* minor fixes for tabbed elements, improved wording

* code review changes

* update the sample page with fitting results

* arviz follies

* added control over reflectivity profiles for up-up and down-down cases

* Added Summary docs, added PICKLE option for saving MPL plots

* spin asymmetry should be positive

* don't show errors for dependent parameters

* show correct error value

* Improved constraints (#339)

* initial commit

* updated constraints

* code review comments addressed

* show tooltip on long parameter names

* reparent reflectometry-lib to develop

* Sample layer visualization (#341)

* initial version

* bugfix: single-layer sample is misclassified and reports zero total
thickness

* Updated docs (#342)

* initial version

* bugfix: single-layer sample is misclassified and reports zero total
thickness

* updated docs

* Refactor SLD and molecular weight dependency in app structure (#343)

* changes for SLD <-> molecular weight dependence

* reparent the app

* attached functionality to the material editor rows

* updated docs

* added github-instructions for easier maintenance

* code review issues addressed

* disable density/formula fields when not directly using them

* code review comments addressed

* make molecular weight a descriptor

* reparent the library

* 401 project save (#344)

* Improved project tracking, #401

* backend state added

* CR review fixes

* fixed density subdialog enablement. Reparented lib to develop

* attempt at fixing some visual issues with the model editor #407 (#345)

* HOTFIX for native Linux dialogs

* Minor fixes (#349)

* added testing workflow

* fix tests

* fixes to windows tests

* fixed stuck UI results in Bayesian

* remove Qt imports/deps from Logic (Backend)

* fixed constraints de/serialization

* maintain consistence after model/experiment deletion

* P1 level issues addressed. Point 7 in the 311-REMAINING-ISSUES.md list

* addressed 9. Circular Plotting1d ↔ Analysis coupling from the main doc

* reparent the library

* PR review fixes

* reparent lib dependency

* attempt at fixing visa-related opengl issues (#347)

* attempt at fixing visa-related opengl issues

* improved handling of QTWEBENGINE rendering types

* added fit settings controls (#350)

* added fit settings controls

* addressed code review comments

* update the library branch

* multiple contrasts #425, phase 2 (#351)

* Added fixes for multiple contrasts handling. Also, added example files
in examples/ directory

* CR review issues addressed

* added docs on multiple contrasts. Fixed issue with overflowing text

* back to `develop` for the lib

* Add spin arrows (#346)

* added arrows for magnetic moment visualization

* fixed reflectometry-lib branch

* removed arrow from SLD plot. Fixed smaller issues

* replace circular control with a slider

* removed dependence on reflectometry-lib modifications

* Variable resolution changes from #425, issue #3 (#352)

* Variable resolution changes from #425, issue #3

* CR fixes

* added fixes to magnetism as per #425, section 3 (#354)

* added fixes to magnetism as per #425, section 3

* code review comments addressed

* reparent to develop

* updated MD files (#353)

* preparations for the release (#357)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[priority] highest Urgent. Needs attention ASAP [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