Skip to content

Commit 8975d95

Browse files
authored
Merge branch 'main' into backmari_pixi_dev_env
2 parents 54c9a1a + e6d4523 commit 8975d95

15 files changed

Lines changed: 124 additions & 43 deletions

File tree

.github/dependabot.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@ updates:
66
directory: "/"
77
schedule:
88
# Check for updates to GitHub Actions every week
9-
interval: "weekly"
9+
interval: "weekly"
10+
groups:
11+
all-dependencies:
12+
patterns:
13+
- "*" # include all actions in a single PR to ensure tied updates are able to work together.

.github/workflows/ci.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -445,21 +445,21 @@ jobs:
445445
codesign -s "Developer ID Application: The International Scattering Alliance (8CX8K63BQM)" $MACOS_DMG_NAME
446446
447447
- name: Notarize Release Build (OSX)
448-
if: ${{ matrix.os == 'macos-latest' && env.SIGN_INSTALLER }}
448+
if: ${{ startsWith(matrix.os, 'macos') && env.SIGN_INSTALLER }}
449449
uses: lando/notarize-action@v2
450450
with:
451-
product-path: installers/dist/SasView6-macos-latest.dmg
451+
product-path: installers/dist/SasView6-${{ matrix.os }}.dmg
452452
primary-bundle-id: "org.sasview.SasView6"
453453
appstore-connect-username: ${{ secrets.NOTARIZATION_USERNAME }}
454454
appstore-connect-password: ${{ secrets.NOTARIZATION_PASSWORD }}
455455
appstore-connect-team-id: 8CX8K63BQM
456456
verbose: True
457457

458458
- name: Staple Release Build (OSX)
459-
if: ${{ matrix.os == 'macos-latest' && env.SIGN_INSTALLER }}
459+
if: ${{ startsWith(matrix.os, 'macos') && env.SIGN_INSTALLER }}
460460
uses: BoundfoxStudios/action-xcode-staple@v1
461461
with:
462-
product-path: installers/dist/SasView6-macos-latest.dmg
462+
product-path: installers/dist/SasView6-${{ matrix.os }}.dmg
463463

464464
- name: Install DigiCert Client tools from Github Custom Actions marketplace
465465
if: ${{ startsWith(matrix.os, 'windows') && env.SIGN_INSTALLER }}
@@ -495,6 +495,7 @@ jobs:
495495
path: |
496496
installers/dist/setupSasView.exe
497497
installers/dist/SasView6-macos-latest.dmg
498+
installers/dist/SasView6-macos-15-intel.dmg
498499
installers/dist/SasView6.tar.gz
499500
if-no-files-found: ignore
500501

@@ -507,7 +508,7 @@ jobs:
507508
matrix:
508509
include: ${{ fromJson(needs.matrix.outputs.installer-matrix-json) }}
509510

510-
name: Test installer
511+
name: "Test ${{ matrix.job_name }}"
511512

512513
runs-on: ${{ matrix.os }}
513514

@@ -556,7 +557,7 @@ jobs:
556557
- name: Retrieve installer (old image)
557558
if: ${{ env.INSTALLER_USE_OLD_IMAGE == 'true' }}
558559
id: download-old-installer
559-
uses: dawidd6/action-download-artifact@v11
560+
uses: dawidd6/action-download-artifact@v12
560561
with:
561562
# Select a specific installer image based on the GitHub Actions run id
562563
run_id: ${{ env.INSTALLER_OLD_RUNID }}
@@ -670,7 +671,7 @@ jobs:
670671
- name: Retrieve installer debug tarball
671672
if: ${{ env.INSTALLER_USE_DEBUG == 'true' }}
672673
id: download-old-debug
673-
uses: dawidd6/action-download-artifact@v11
674+
uses: dawidd6/action-download-artifact@v12
674675
with:
675676
# Select a specific installer image based on the GitHub Actions run id
676677
run_id: ${{ env.INSTALLER_OLD_RUNID }}

build_tools/contributors.tsv

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Name Affiliation Creator Producer RelatedPerson ReleaseManager ORCID Notes
1818
"Cooper-Benun, Torin" ISIS Neutron and Muon Source x None
1919
"Cortes Hernandez, R" "University of Tennessee, Knoxville" x None
2020
"Corona, Patrick" "University of California, Santa Barbara" x None
21-
"Crake-Merani, James Akbar" ISIS Neutron and Muon Source x x 0009-0003-1736-5567 None
21+
"Crake-Merani, James Akbar" ISIS Neutron and Muon Source x 0009-0003-1736-5567 None
2222
"Detiste, Alexandre" The Debian Project x None
2323
"Doucet, Mathieu" Oak Ridge National Laboratory x 0000-0002-5560-6478 None
2424
"Doutch, James" ISIS Neutron and Muon Source x None
@@ -51,7 +51,7 @@ Name Affiliation Creator Producer RelatedPerson ReleaseManager ORCID Notes
5151
"Kline, Steve" National Institute of Standards and Technology x None
5252
"Knudsen, Mikkel" University of Copenhagen x Who is this person? What is the connection?
5353
"Krueger, Susan" National Institute of Standards and Technology x None
54-
"Krzywon, Jeff" National Institute of Standards and Technology x 0000-0002-2380-4090 None
54+
"Krzywon, Jeff" National Institute of Standards and Technology x x 0000-0002-2380-4090 None
5555
"Larsen, Andreas Haahr" University of Copenhagen x 0000-0002-2230-2654 None
5656
"Lee, Sangjoon Bob" Columbia University x 0000-0002-2367-3932 None
5757
"Lin, Jiao" California Institute of Technology x None
@@ -95,6 +95,7 @@ Name Affiliation Creator Producer RelatedPerson ReleaseManager ORCID Notes
9595
"Sharp, Paul" ISIS Neutron and Muon Source x 0000-0003-3072-6155 None
9696
"Shan, Xael" National Institute of Standards and Technology x None
9797
"Shang, Yingrui" Oak Ridge National Laboratory x None
98+
"Shrestha, Sujaya" ISIS Neutron and Muon Source x None
9899
"Snow, Tim" Diamond Light Source x 0000-0001-7146-6885 None
99100
"Stellhorn, Annika" European Spallation Source x None
100101
"Taylor, Jonathan" European Spallation Source x None

build_tools/release_automation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
# Should import release notes from git repo, for now will need to cut and paste
3939
sasview_data = {
4040
'metadata': {
41-
'title': 'SasView version 6.1.1',
42-
'description': '6.1.1 release',
41+
'title': 'SasView version 6.1.2',
42+
'description': '6.1.2 release',
4343
'related_identifiers': [{'identifier': 'https://github.com/SasView/sasview/releases/tag/v6.1.1',
4444
'relation': 'isAlternateIdentifier', 'scheme': 'url'}],
4545
'contributors': [

docs/sphinx-docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
# The short X.Y version.
8989
version = '6.1'
9090
# The full version, including e.g. alpha tags (a1).
91-
release = '6.1.1'
91+
release = '6.1.2'
9292

9393
# The language for content autogenerated by Sphinx. Refer to documentation
9494
# for a list of supported languages.

docs/sphinx-docs/source/user/RELEASE.rst

Lines changed: 71 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,63 @@ Release Notes
1313
Features
1414
========
1515

16+
New in Version 6.1.2
17+
--------------------
18+
19+
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.
20+
21+
This release fixes two major issues introduced in v6.1.1:
22+
23+
- Plugin models now work correctly
24+
- The 2-Yukawa structure factor is available and does not throw an error.
25+
26+
Bug fixes
27+
^^^^^^^^^
28+
29+
* Fix for plugin models not being found by @DrPaulSharp in https://github.com/SasView/sasview/pull/3659
30+
* Fix for Wedge and Sector Slicers in Q using the same plot by @jellybean2004 in https://github.com/SasView/sasview/pull/3597
31+
* Replaces 'magic numbers' with enum by @jellybean2004 in https://github.com/SasView/sasview/pull/3598
32+
* Adds plotUpdateSignal to BoxSlicer by @DrPaulSharp in https://github.com/SasView/sasview/pull/3600
33+
* Fix for Chi2 calculation in Inversion perspective by @jellybean2004 in https://github.com/SasView/sasview/pull/3607
34+
* Invariant bugfixes and 'TODO' tasks by @jellybean2004 in https://github.com/SasView/sasview/pull/3627
35+
* Removes redundant param by @jellybean2004 in https://github.com/SasView/sasview/pull/3633
36+
* Invariant reformat by @jellybean2004 in https://github.com/SasView/sasview/pull/3631
37+
* Adds module level logging to all files by @jellybean2004 in https://github.com/SasView/sasview/pull/3637
38+
* Adds function for close by @jellybean2004 in https://github.com/SasView/sasview/pull/3635
39+
40+
Documentation fixes
41+
^^^^^^^^^^^^^^^^^^^
42+
43+
* Various fixes to try to get sasview sphinx docs to build cleanly. by @pkienzle in https://github.com/SasView/sasview/pull/3504
44+
* Include API docs from sasmodels in sasview sphinx output by @llimeht in https://github.com/SasView/sasview/pull/3661
45+
* Update plugin model location in docs by @DrPaulSharp in https://github.com/SasView/sasview/pull/3665
46+
47+
Linting changes
48+
^^^^^^^^^^^^^^^
49+
50+
* Converts type comments to type hints by @DrPaulSharp in https://github.com/SasView/sasview/pull/3578
51+
* Explicitly specifies latest version of ruff in CI by @DrPaulSharp in https://github.com/SasView/sasview/pull/3608
52+
* Adds local pre-commit hook for ruff linting auto fixes by @DrPaulSharp in https://github.com/SasView/sasview/pull/3573
53+
54+
Infrastructure Changes
55+
^^^^^^^^^^^^^^^^^^^^^^
56+
57+
* Add dependabot for github actions by @krzywon in https://github.com/SasView/sasview/pull/3571
58+
* Limit windows signing action by @rozyczko in https://github.com/SasView/sasview/pull/3617
59+
* Install innosetup in windows installer CI runs by @llimeht in https://github.com/SasView/sasview/pull/3606
60+
* Bump actions/download-artifact from 4 to 5 by @dependabot[bot] in https://github.com/SasView/sasview/pull/3592
61+
* Bump dawidd6/action-download-artifact from 6 to 11 by @dependabot[bot] in https://github.com/SasView/sasview/pull/3591
62+
* Bump actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/SasView/sasview/pull/3590
63+
* Bump actions/setup-python from 5 to 6 by @dependabot[bot] in https://github.com/SasView/sasview/pull/3588
64+
* Bump digicert/ssm-code-signing from 1.0.1 to 1.1.1 by @dependabot[bot] in https://github.com/SasView/sasview/pull/3589
65+
* move qt gui build to cli.py and remove run.py by @pkienzle in https://github.com/SasView/sasview/pull/3596
66+
* Change remaining mentions of appdirs to platformdirs by @llimeht in https://github.com/SasView/sasview/pull/3640
67+
* Removes macos-13 from CI by @DrPaulSharp in https://github.com/SasView/sasview/pull/3629
68+
* Replace direct AUSAXS library integration with the pyAUSAXS wrapper by @klytje in https://github.com/SasView/sasview/pull/3634
69+
70+
71+
**Full Changelog**: https://github.com/SasView/sasview/compare/v6.1.1...v6.1.2rc1
72+
1673
New in Version 6.1.1
1774
--------------------
1875

@@ -1729,12 +1786,14 @@ System Requirements
17291786
on the system. We currently use Python 2.7
17301787
* For SasView 5.x: A Python version > 3.0 should be running on the system. We
17311788
currently use Python 3.6
1789+
* For SasView 6.x: A python version >= 3.10 should be running on the systems. We
1790+
currently use Python 3.11
17321791

17331792
Package Dependencies
17341793
--------------------
17351794
* Ensure the required dependencies are installed
1736-
* For the latest list of dependencies see the appropriate yml file in
1737-
the SasView repo at sasview/build_tools/conda/ymls
1795+
* For the latest list of dependencies, use the requirements.txt file
1796+
in the /build_tools/ directory.
17381797

17391798
Installing from Source
17401799
----------------------
@@ -1750,24 +1809,24 @@ Installing from Source
17501809
* To get a SPECIFIC RELEASE VERSION from source control go to
17511810
https://github.com/SasView/sasview/releases
17521811
and download the required zip or tar.gz file. Unzip/untar it
1753-
to the source code folder.
1812+
to the source code folder. Alternately, checkout a specific tag
1813+
using 'git checkout <tag>` after running `git fetch --all`.
17541814

17551815
Building and Installing
17561816
-----------------------
1757-
* To build and install the code
1758-
use 'pip install .'
1817+
* To build and install the code use 'pip install -e .'. The optional
1818+
'-e' flag will install the project files in editable mode allowing
1819+
a developer to make changes and test without having to pip install
1820+
the project every time a change is made.
17591821
* To build a wheel for installation elsewhere
17601822
use 'hatchling build --wheel'
17611823
* To build the documentation
17621824
use 'hatchling build --hooks-only'
17631825

17641826
Running SasView
17651827
---------------
1766-
* use 'python run.py'; this runs from the source directories, so you
1767-
don't have to rebuild every time you make a change, unless you are
1768-
changing the C model files.
1769-
* if using Conda the above command will also build SasView, but you
1770-
must issue 'activate sasview' first.
1828+
* Assuming the python or conda environment that sasview was installed into
1829+
is active, use 'python -m sas' to launch the app directly from the source.
17711830

17721831
Known Issues
17731832
============
@@ -1779,6 +1838,8 @@ users may wish to be aware of can be viewed at the following links:
17791838

17801839
`[sasmodels] <https://github.com/SasView/sasmodels/milestones>`_
17811840

1841+
`[sasdata] <https://github.com/SasView/sasdata/milestones>`_
1842+
17821843
All 5.0.x versions / 4.2.2 - All systems
17831844
----------------------------------------
17841845
A problem has been identified in Version 4.2.2 which also affects all 5.0.x

installers/installer.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
33

44
#define MyAppName "SasView"
5-
#define MyAppVersion "6.1.1"
5+
#define MyAppVersion "6.1.2"
66
#define MyAppPublisher "(c) 2009 - 2025, UTK, UMD, NIST, ORNL, ISIS, ESS, ILL, ANSTO, TU Delft and DLS"
77
#define MyAppURL "http://www.sasview.org"
88
#define MyAppExeName "sasview.exe"

src/sas/qtgui/Calculators/DataOperationUtilityPanel.py

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -373,19 +373,17 @@ def onCheckOutputName(self):
373373
# ########
374374
# Modification of inputs
375375
# ########
376-
def _findId(self, name):
377-
""" find id of name in list of filenames """
378-
isinstance(name, str)
379-
380-
for key_id in list(self.filenames.keys()):
381-
# data with title
382-
if self.filenames[key_id].name:
383-
input = self.filenames[key_id].name
384-
# data without title
385-
else:
386-
input = str(key_id)
387-
if name in input:
388-
return key_id
376+
def _findId(self, name: str) -> str | None:
377+
"""Verify the displayed name matches a name in the data explorer"""
378+
name_list = [str(self.filenames[key_id].name) for key_id in self.filenames.keys()]
379+
key_list = [str(key_id) for key_id in self.filenames.keys()]
380+
# The name must completely match the key or name to ensure 'non-alphabetic-data_name'
381+
# does not match 'M1[non-alphabetic-data_name]'
382+
# See https://github.com/SasView/sasview/issues/3796 for reference.
383+
if name in name_list or name in key_list:
384+
return str(name)
385+
else:
386+
return None
389387

390388
def _extractData(self, key_id):
391389
""" Extract data from file with id contained in list of filenames """

src/sas/qtgui/MainWindow/Acknowledgements.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ def addText(self):
3232
" from the EU Horizon 2020 programme under the SINE2020 project Grant No 654000."
3333

3434
self.textBrowser.setText(acknowledgement_text_1)
35-
acknowledgement_text_2 = 'M. Doucet et al. SasView Version ' + str(version) + ', ' + str(doi)
35+
acknowledgement_text_2 = 'J. Krzywon, et al. SasView Version ' + str(version) + ', ' + str(doi)
3636
self.textBrowser_2.setText(acknowledgement_text_2)

src/sas/qtgui/MainWindow/media/preferences_help.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. preferences_help.rst
22
33
.. Initial Draft: J Krzywon, August 2022
4-
.. Last Updated: J Krzywon, Nov. 22, 2023
4+
.. Last Updated: S Shrestha, January 2026
55
66
.. _Preferences:
77

@@ -42,6 +42,9 @@ are completed. The plots can still be accessed in the data explorer under the da
4242
from Matplotlib. Note: The toolbar can be enabled and disabled in each individual plot by opening the context menu with
4343
a right click and selecting 'Toggle Navigation Menu'
4444

45+
**Stack plots when using slicers**: When selected, multiple plots generated using slicers will be added to the same plot
46+
window, each with its own legend entry. When not selected, each plot will open in its own window. *persistent*
47+
4548
.. _Display_Preferences:
4649

4750
Display Preferences

0 commit comments

Comments
 (0)