diff --git a/LICENSE.TXT b/LICENSE.TXT index a4a159a6e5..e4f1fa9138 100644 --- a/LICENSE.TXT +++ b/LICENSE.TXT @@ -1,4 +1,4 @@ -Copyright (c) 2009-2025, SasView Developers +Copyright (c) 2009-2026, SasView Developers All rights reserved. diff --git a/build_tools/application_metadata/org.sasview.sasview.metainfo.xml b/build_tools/application_metadata/org.sasview.sasview.metainfo.xml index 12fbc3cfa7..985c64f8c8 100644 --- a/build_tools/application_metadata/org.sasview.sasview.metainfo.xml +++ b/build_tools/application_metadata/org.sasview.sasview.metainfo.xml @@ -20,7 +20,7 @@ https://github.com/SasView/sasview - + org.sasview.sasview.desktop diff --git a/build_tools/contributors.tsv b/build_tools/contributors.tsv index 7e5f46f290..3b9458ecef 100644 --- a/build_tools/contributors.tsv +++ b/build_tools/contributors.tsv @@ -15,6 +15,7 @@ Name Affiliation Creator Producer RelatedPerson ReleaseManager ORCID Notes "Cadwallader-Jones, Iestyn" Institut Laue-Langevin x None "Campbell, Kieran" ISIS Neutron and Muon Source x None "Cho, Jae-Hie" "University of Tennessee, Knoxville" x None +"Conan, Romain" "Charles University" x None "Cooper-Benun, Torin" ISIS Neutron and Muon Source x None "Cortes Hernandez, R" "University of Tennessee, Knoxville" x None "Corona, Patrick" "University of California, Santa Barbara" x None diff --git a/docs/sphinx-docs/source/user/RELEASE.rst b/docs/sphinx-docs/source/user/RELEASE.rst index f4d99119d7..0426e5d915 100644 --- a/docs/sphinx-docs/source/user/RELEASE.rst +++ b/docs/sphinx-docs/source/user/RELEASE.rst @@ -13,6 +13,66 @@ Release Notes Features ======== +Jump to: +:ref:`release_6_1_3` | :ref:`release_6_1_2` | :ref:`release_6_1_1` | :ref:`release_6_1_0` + | :ref:`release_6_0_1` | :ref:`release_6_0_0` + | :ref:`release_5_0_6` | :ref:`release_5_0_5` | :ref:`release_5_0_4` | :ref:`release_5_0_3` | :ref:`release_5_0_2` + | :ref:`release_5_0_1` | :ref:`release_5_0_0` + | :ref:`release_4_2_0` | :ref:`release_4_1_2` | :ref:`release_4_1_1` | :ref:`release_4_1_0` + | :ref:`release_4_0_1` | :ref:`release_4_0_0` + | :ref:`release_3_1_2` | :ref:`release_3_1_1` | :ref:`release_3_1_0` | :ref:`release_3_0_0` + | :ref:`release_2_2_1` | :ref:`release_2_2_0` + +.. _release_6_1_3: +New in Version 6.1.3 +-------------------- + +This is a minor bug fix release of SasView. It is built with Sasmodels v1.0.12, Sasdata v0.11.0, and Bumps v1.0.2. + +Bug fixes +^^^^^^^^^ + +* Fix handling cancel action on single fit with multi constraint by @bmaranville in https://github.com/SasView/sasview/pull/3808 +* Fix unchecking constraints by @bmaranville in https://github.com/SasView/sasview/pull/3809 +* Fix complex compiled constraints by @bmaranville in https://github.com/SasView/sasview/pull/3811 +* Fix for project load breaking the replace fit button by @krzywon in https://github.com/SasView/sasview/pull/3816 +* Fixing name for dispersity parameter for multishell models by @dehoni in https://github.com/SasView/sasview/pull/3779 +* Adds logger error for unsuitably scaled axes by @DrPaulSharp in https://github.com/SasView/sasview/pull/3778 +* Fixed disconnect logic with the proper PySide6 signal checking method by @rozyczko in https://github.com/SasView/sasview/pull/3771 +* Revert the polydisp table to the original state on model change by @rozyczko in https://github.com/SasView/sasview/pull/3768 +* Fixes for quick plotting - both 1D and 3D by @rozyczko in https://github.com/SasView/sasview/pull/3749 +* Warn user before starting scattering calcs on large structures by @klytje in https://github.com/SasView/sasview/pull/3737 +* Ensure polydispersity and magnetic parameters are available in batch fitting by @rozyczko in https://github.com/SasView/sasview/pull/3843 +* Ensure orientation parameters are available in polydispersity panel by @DrPaulSharp in https://github.com/SasView/sasview/pull/3855 +* Fix issue related to model order in constrained fit window by @rozyczko in https://github.com/SasView/sasview/pull/3857 + +Documentation fixes +^^^^^^^^^^^^^^^^^^^ + +* Factor out documentation-locating code to be portable by @llimeht in https://github.com/SasView/sasview/pull/3667 +* Prevent crashes and log errors if docs can't be found by @llimeht in https://github.com/SasView/sasview/pull/3689 +* Fix typo in Kiessig calculator documentation by @conanr-create in https://github.com/SasView/sasview/pull/3750 +* Fix typo in help documentation for fitting options by @butlerpd in https://github.com/SasView/sasview/pull/3736 + +Linting changes +^^^^^^^^^^^^^^^ + +* Clean up some nitpicks - dead file removal by @llimeht in https://github.com/SasView/sasview/pull/3735 +* Remove some big files from the distributions by @llimeht in https://github.com/SasView/sasview/pull/3482 + +## New Contributors +* @conanr-create made their first contribution in https://github.com/SasView/sasview/pull/3750 + +**Full Changelog**: https://github.com/SasView/sasview/compare/v6.1.2...v6.1.3a1 + +Known Issues +^^^^^^^^^^^^ +All known bugs and feature requests can be found in the issues on github. + +`sasview issues `_ | `sasmodels issues `_ | `sasdata issues `_ + + +.. _release_6_1_2: New in Version 6.1.2 -------------------- @@ -70,6 +130,14 @@ Infrastructure Changes **Full Changelog**: https://github.com/SasView/sasview/compare/v6.1.1...v6.1.2rc1 +Known Issues +^^^^^^^^^^^^ +All known bugs and feature requests can be found in the issues on github. + +`sasview issues `_ | `sasmodels issues `_ | `sasdata issues `_ + + +.. _release_6_1_1: New in Version 6.1.1 -------------------- @@ -124,7 +192,14 @@ Infrastructure Changes **Full Changelog**: https://github.com/SasView/sasview/compare/v6.1.0...v6.1.1 +Known Issues +^^^^^^^^^^^^ +All known bugs and feature requests can be found in the issues on github. +`sasview issues `_ | `sasmodels issues `_ | `sasdata issues `_ + + +.. _release_6_1_0: New in Version 6.1.0 -------------------- @@ -175,6 +250,7 @@ All known bugs and feature requests can be found in the issues on github. `sasview issues `_ | `sasmodels issues `_ | `sasdata issues `_ +.. _release_6_0_1: New in Version 6.0.1 -------------------- This is a bug fix release and the issues fixed for this release are described below. @@ -221,6 +297,7 @@ All known bugs and feature requests can be found in the issues on github. `sasview issues `_ | `sasmodels issues `_ | `sasdata issues `_ +.. _release_6_0_0: New in Version 6.0.0 -------------------- This is a major release with a number of new features, enhancements, and bug fixes as described below. Many of the new @@ -398,6 +475,7 @@ Note the sasmodels issues are now separate from the sasview issues (i.e. differe `[sasmodels] `_ +.. _release_5_0_6: New in Version 5.0.6 -------------------- This is a point release which fixes a number of issues reported in earlier versions @@ -476,6 +554,7 @@ Note the sasmodels issues are now separate from the sasview issues (i.e. differe `[sasmodels] `_ +.. _release_5_0_5: New in Version 5.0.5 -------------------- This is a point release which fixes some issues reported in earlier versions @@ -642,6 +721,7 @@ Note the sasmodels issues are now separate from the sasview issues (i.e. differe `[sasmodels] `_ +.. _release_5_0_4: New in Version 5.0.4 -------------------- This is a point release which fixes some issues reported in earlier versions @@ -819,6 +899,7 @@ Note the sasmodels issues are now separate from the sasview issues (i.e. differe `[sasmodels] `_ +.. _release_5_0_3: New in Version 5.0.3 -------------------- This is a point release which fixes several issues, but in particular: @@ -908,6 +989,7 @@ Note the sasmodels issues are now separate from the sasview issues (i.e. differe `[sasmodels] `_ +.. _release_5_0_2: New in Version 5.0.2 -------------------- This is a point release which fixes several issues reported in version 5.0.1, however @@ -954,6 +1036,7 @@ enhance the invariant documentation. Also, at this time, and unlike version 4.x, only fitting sessions can be saved as project files. +.. _release_5_0_1: New in Version 5.0.1 -------------------- This is a point release which fixes several issues reported in version 5.0.0. @@ -1004,6 +1087,8 @@ models directly. For example:: Model = make_model_from_info(model_info) + +.. _release_5_0_0: New in Version 5.0 ------------------ This is a new version of SasView featuring new and enhanced GUI, back-end calculations, @@ -1041,6 +1126,7 @@ All the known bugs/feature requests can be found in the issues on github. `[sasmodels] `_ +.. _release_4_2_0: New in Version 4.2.0 -------------------- This release heralds many improvements and a host of bug fixes, along with @@ -1294,6 +1380,7 @@ Highlights are: In the meantime please report any bugs or issues found while using this beta +.. _release_4_1_2: New in Version 4.1.2 -------------------- This point release is a bug-fix release addressing: @@ -1305,6 +1392,7 @@ This point release is a bug-fix release addressing: It is recommended that all users upgrade to this version +.. _release_4_1_1: New in Version 4.1.1 -------------------- This point release is a bug-fix release addressing: @@ -1319,6 +1407,7 @@ This point release is a bug-fix release addressing: * Updated tutorials for SasView 4.x.y +.. _release_4_1_0: New in Version 4.1.0 -------------------- This incremental release brings a series of new features and improvements, @@ -1382,6 +1471,7 @@ Bug Fixes * Numerous grammatical and contexual errors in documention +.. _release_4_0_1: New in Version 4.0.1 -------------------- This release fixes the critical bug #750 in P(Q)xS(Q). Most damaging @@ -1389,6 +1479,7 @@ it appears that the background term was being added to S(Q) prior to multiplication by P(Q). +.. _release_4_0_0: New in Version 4.0 ------------------ This release fixes the various bugs found during the alpha and beta testing @@ -1491,6 +1582,7 @@ Bug fixes * Fixes #556: Build script improvements for developers +.. _release_3_1_2: New in Version 3.1.2 -------------------- This release is a major stability improvement, having fixed a serious bug @@ -1508,12 +1600,14 @@ that came to light since release 3.1.1. All users should upgrade. * Fixes #488: redraw issues in fit page +.. _release_3_1_1: New in Version 3.1.1 -------------------- Fixes #457 that prevented SasView from starting if the user was not connected to the internet, or was behind a proxy server. +.. _release_3_1_0: New in Version 3.1.0 -------------------- The documentation/help has had a complete overhaul including: @@ -1579,6 +1673,7 @@ Other work: non-project personnel through pull requests. +.. _release_3_0_0: New in Version 3.0.0 -------------------- * The GUI look and feel has been refactored to be more familiar for @@ -1611,6 +1706,7 @@ New in Version 3.0.0 data. Supported formats include: TIFF, TIF, PNG, BMP, JPG. +.. _release_2_2_1: New in Version 2.2.1 -------------------- * Minor patch to support CanSAS XML v1.1 file format @@ -1624,6 +1720,7 @@ New in Version 2.2.1 * Fixed a number of other minor bugs +.. _release_2_2_0: New in Version 2.2.0 -------------------- * Application name changed to SasView diff --git a/docs/sphinx-docs/source/user/tutorial.rst b/docs/sphinx-docs/source/user/tutorial.rst index 37b420be71..88e1841b54 100644 --- a/docs/sphinx-docs/source/user/tutorial.rst +++ b/docs/sphinx-docs/source/user/tutorial.rst @@ -7,6 +7,8 @@ Tutorials .. note:: In Windows use [Alt]-[Cursor left] to return to the previous page +The following links will download as a PDF file into your default download location: + :download:`Getting Started with Sasview ` :download:`Subtracting a Model Calculation from Experimental Data ` diff --git a/installers/installer.iss b/installers/installer.iss index df8ca8833a..6e2d10d77f 100644 --- a/installers/installer.iss +++ b/installers/installer.iss @@ -2,8 +2,8 @@ ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! #define MyAppName "SasView" -#define MyAppVersion "6.1.2" -#define MyAppPublisher "(c) 2009 - 2025, UTK, UMD, NIST, ORNL, ISIS, ESS, ILL, ANSTO, TU Delft and DLS" +#define MyAppVersion "6.1.3" +#define MyAppPublisher "(c) 2009 - 2026, UTK, NIST, UMD, ORNL, ISIS, ESS, ILL, ANSTO, TU Delft, DLS, SciLifeLab, and the scattering community" #define MyAppURL "http://www.sasview.org" #define MyAppExeName "sasview.exe" diff --git a/installers/license.txt b/installers/license.txt index 684b712d94..09d5abe5c7 100644 --- a/installers/license.txt +++ b/installers/license.txt @@ -18,4 +18,4 @@ sentence: *"This work benefited from the use of the SasView application, originally developed under NSF award DMR-0520547."* -Copyright (c) 2009-2025, SasView Developers \ No newline at end of file +Copyright (c) 2009-2026, SasView Developers \ No newline at end of file diff --git a/src/sas/qtgui/MainWindow/UnitTesting/WelcomePanelTest.py b/src/sas/qtgui/MainWindow/UnitTesting/WelcomePanelTest.py index 2afd421a9e..0cbfe51ee0 100644 --- a/src/sas/qtgui/MainWindow/UnitTesting/WelcomePanelTest.py +++ b/src/sas/qtgui/MainWindow/UnitTesting/WelcomePanelTest.py @@ -30,5 +30,5 @@ def testVersion(self, widget): assert isinstance(version, QtWidgets.QLabel) assert "SasView" in version.text() - for inst in "UTK, UMD, ESS, NIST, ORNL, ISIS, ILL, DLS, TUD, BAM, ANSTO".split(", "): + for inst in "UTK, UMD, ESS, NIST, ORNL, ISIS, ILL, DLS, TU Delft, SciLifeLab, ANSTO".split(", "): assert inst in ack.text() diff --git a/src/sas/qtgui/MainWindow/WelcomePanel.py b/src/sas/qtgui/MainWindow/WelcomePanel.py index f467df696d..aa44101d3a 100644 --- a/src/sas/qtgui/MainWindow/WelcomePanel.py +++ b/src/sas/qtgui/MainWindow/WelcomePanel.py @@ -18,6 +18,7 @@ def __init__(self, parent=None): ver = "\nSasView %s\n%s" % (version, legal.copyright) self.lblVersion.setText(ver) + self.lblAcknowledgements.setText(legal.about) # no reason to have this widget resizable self.setFixedSize(self.minimumSizeHint()) diff --git a/src/sas/qtgui/Perspectives/Fitting/FittingWidget.py b/src/sas/qtgui/Perspectives/Fitting/FittingWidget.py index e9ee8ba966..a3b33c5ce3 100644 --- a/src/sas/qtgui/Perspectives/Fitting/FittingWidget.py +++ b/src/sas/qtgui/Perspectives/Fitting/FittingWidget.py @@ -230,6 +230,9 @@ def dataFromItems(self, value: QtGui.QStandardItem | list[QtGui.QStandardItem]) self._logic.append(logic) # Option widget logic was destroyed - reestablish self.options_widget.logic = self._logic[0] + # Ensure auxiliary widgets point at the new logic instance + self.polydispersity_widget.logic = self._logic[0] + self.magnetism_widget.logic = self._logic[0] # update the ordering tab self.order_widget.updateData(self.all_data) diff --git a/src/sas/system/legal.py b/src/sas/system/legal.py index 0d1ce73162..c3761cbe85 100644 --- a/src/sas/system/legal.py +++ b/src/sas/system/legal.py @@ -8,6 +8,22 @@ class Legal: def __init__(self): year = datetime.datetime.now().year self.copyright = f"Copyright (c) 2009-{year}, SasView Developers" + self.about = """ + + + +

+ This work originally developed as part of the DANSE project funded by the NSF under + grant DMR-0520547, and currently maintained by UTK, NIST, UMD, ORNL, ISIS, ESS, ILL, + ANSTO, TU Delft, DLS, SciLifeLab, and the scattering community. +

+

+ SasView also contains code developed with funding from the EU Horizon 2020 programme under + the SINE2020 project (Grant No 654000). +

+ + """ + @property def credits_html(self) -> Path: diff --git a/src/sas/system/resources.py b/src/sas/system/resources.py index 646a376208..9397344738 100644 --- a/src/sas/system/resources.py +++ b/src/sas/system/resources.py @@ -167,9 +167,9 @@ def path_to_resource_directory(self, src: str | PurePath) -> Path: if path: # this will be a entry within the directory or possibly even a subdirectory # need to walk up to find the entry we really want - match = f"/{self.module}/{src}" # pathlib.Path directories don't end in / + match = str(Path(f"/{self.module}/{src}")) # pathlib.Path directories don't end in / for part in itertools.chain([path], path.parents): - if str(part).endswith(match): + if str(Path(part)).endswith(match): return part # if the upwards search falls through to here, then something went wrong # with the original filtering of the RECORD data, but allow it to try diff --git a/src/sas/system/version.py b/src/sas/system/version.py index aa862612f4..cb4615273d 100644 --- a/src/sas/system/version.py +++ b/src/sas/system/version.py @@ -3,9 +3,9 @@ try: from ._version import __version__ except ImportError: - __version__ = "6.1.2" + __version__ = "6.1.3" -__release_date__ = "2025" +__release_date__ = "2026" __version_parsed__ = Version(__version__) __all__ = ["__version_parsed__", "__release_date__", "__version__"] diff --git a/src/sas/system/zenodo.py b/src/sas/system/zenodo.py new file mode 100644 index 0000000000..05808de634 --- /dev/null +++ b/src/sas/system/zenodo.py @@ -0,0 +1 @@ +__DOI__ = "10.5281/zenodo.18352296"