Skip to content

Commit

Permalink
Merge branch 'release_6.0.0' into KeepRequirementsFileCatergories
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-wilkins authored Jul 16, 2024
2 parents 891e2ef + 628d599 commit 3e1840f
Show file tree
Hide file tree
Showing 57 changed files with 1,844 additions and 675 deletions.
102 changes: 102 additions & 0 deletions build_tools/contributors.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
Name Affiliation Creator Producer RelatedPerson ORCID Notes
Adams, Michel University of Luxembourg x None
Agouzal, Nouhaila Institut Laue-Langevin x None
Alina, Gervaise University of Tennessee, Knoxville x None
Anuchitanukul, Atijit Oak Ridge National Laboratory x worked with Anders on FIT benmchmarking. Should be ISIS?
Attala, Ziggy ISIS Neutron and Muon Source x Changed RAL to ISIS, as we have diamond separately, needs to be checked
Bakker, Jurrian Technical University, Delft x None
Beaucage, Peter National Institute of Standards and Technology x 0000-0002-2147-0728 None
Berger, Jordan University of Delaware x None
Bourne, Robert ISIS Neutron and Muon Source x None
Bouwman, Wim "Technical University, Delft" x None
Bressler, Ingo Paul Scherrer Institute x None
Butler, Paul National Institute of Standards and Technology x 0000-0002-5978-4714 None
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
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
Doucet, Mathieu Oak Ridge National Laboratory x 0000-0002-5560-6478 None
Doutch, James ISIS Neutron and Muon Source x None
Dresen, Dominique University of Cologne x None
Drosos, Giogos ETH Zurich x Submitted PR externally - never communicated directly with group. Still counts?
Durniak, Celine European Spallation Source x None
Farrow, Chris California Institute of Technology x None
Ferraz Leal, Ricardo Oak Ridge National Laboratory x None
Ford, Rachel California Institute of Technology x At Grenoble camp and worked on adding assigned model all week till RKH pointed out that it duplicated an existing model. Still should count?
Forster, Laura Diamond Light Source x None
Fragneto, Giovanna European Spallation Source x None
Fultz, Brent California Institute of Technology x None
Gaudet, Jonathan University of Maryland x None
Gerina, Mariana Charles University x None
Gilbert, Peter National Institute of Standards and Technology x 0000-0003-1707-7517 Not sure he is properly an author vs other? check contribution.
Gonzalez, Miguel Institut Laue-Langevin x 0000-0002-3478-0215 None
Heenan, Richard ISIS Neutron and Muon Source x 0000-0002-7729-1454 None
Hewins, Ellis ISIS Neutron and Muon Source x None
Honecker, Dirk ISIS Neutron and Muon Source x None
Jackson, Andrew European Spallation Source x 0000-0002-6296-0336 None
Jensen, Grethe National Institute of Standards and Technology x None
Juhas, Pavol Brookhaven National Laboratory x None
Karliczek, Julius Institut Laue-Langevin x None
Kienzle, Paul National Institute of Standards and Technology x None
King, Stephen ISIS Neutron and Muon Source x x 0000-0003-3386-9151 None
Kline, Steve National Institute of Standards and Technology x None
Knudsen, Mikke University of Copenhagen x Who is this person? What is the connection?
Krueger, Susan National Institute of Standards and Technology x None
Krzywon, Jeff National Institute of Standards and Technology x 0000-0002-2380-4090 None
Lin, Jiao California Institute of Technology x None
Liu, Yun National Institute of Standards and Technology x None
Lopes, Ruben ISIS Neutron and Muon Source x None
Lozano, Dorian Institut Laue-Langevin x None
Lytje, Kristian Aarhus University x None
Mannicke, David Australian National Science and Technology Organisation x None
Maranville, Brian National Institute of Standards and Technology x 0000-0002-6105-8789 None
Markvardsen, Anders ISIS Neutron and Muon Source x x None
Martinez, Nicolas Institut Laue-Langevin x None
McKerns, Mike California Institute of Technology x None
Miller, Brayden National Institute of Standards and Technology x None
Mothander, Karolina Lund University x None
Murphy, Ryan National Institute of Standards and Technology x 0000-0002-4080-7525 None
Narayanan, Theyencheri European Synchrotron Radiation Facility x None
Nelson, Andrew Australian National Science and Technology Organisation x None
Nielsen, Torben European Spallation Source x x None
Oakley, Michael ISIS Neutron and Muon Source x None
O'Driscoll, Lewis ISIS Neutron and Muon Source x None
Park, Helen National Institute of Standards and Technology x None
Parker, Peter ISIS Neutron and Muon Source x None
Parsons, Drew University of Cagliari x Or should he be listed as creator?
Patrou, Maria Oak Ridge National Laboratory x No commits yet but contributed 6 days at contributor camp on designs and path forwards
Pauw, Brian Federal Institute for Materials Research and Testing x None
Pellicelli, R Who is this person (and what it their affiliation?) How did the name show up here (could tell us who they are?)
Perring, Toby ISIS Neutron and Muon Source x None
Peterson, Pete Oak Ridge National Laboratory x None
Porcar, Lionel Institut Laue-Langevin x None
Potrzebowski, Wojciech SciLifeLab at Lund University x x 0000-0002-7789-6779 None
Pozzo, Lilo University of Washington x None
Prescott, Stuart University of New South Wales x 0000-0001-5639-9688 None
Prevost, Sylvain Institut Laue-Langevin x None
Rakitin, Maksim Brookhaven National Laboratory x None
Rennie, Adrian Uppsala University x None
Richter, Tobias Diamond Light Source x x Was at Diamond as creator. counts as Producer at ESS? How to list here?
Roberts, Graham University of Connecticut x Working on AI module but mostly alone? so not yet creator?
Rod, Thomas Holm European Spallation Source x None
Rooks, Jack University of Delaware x None
Rozyczko, Piotr European Spallation Source x 0000-0002-2359-1013 None
Shan, Xael National Institute of Standards and Technology x None
Shang, Yingrui Oak Ridge National Laboratory x None
Snow, Tim Diamond Light Source x 0000-0001-7146-6885 None
Stellhorn, Annika European Spallation Source x None
Taylor, Jonathan European Spallation Source x None
Teixeira, Susana National Institute of Standards and Technology x None
Tumarkin, Jessica University of Tennessee, Knoxville x None
Udby, Linda Niels Bohr Institute x Pan-learning person.
Washington, Adam ISIS Neutron and Muon Source x None
Weigandt, Katie National Institute of Standards and Technology x None
Whitley, Robert ISIS Neutron and Muon Source x None
Wilkins, Lucas ISIS Neutron and Muon Source x None
Wolf, Caitlyn National Institute of Standards and Technology x 0000-0002-2956-7049 None
Zakoutna, Dominika Charles University x None
Zhang, Anita University of Princeton x None
Zheng, Alex National Institute of Standards and Technolog x None
Zhou, Jing University of Tennessee, Knoxville First person working on SANS part of DANSE project, but not really SansView yet? not sure how (or if) to list.
22 changes: 0 additions & 22 deletions docs/sphinx-docs/source/user/tutorial.rst

This file was deleted.

2 changes: 0 additions & 2 deletions docs/sphinx-docs/source/user/working.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ Working with SasView

Example Data <example_data/testdata_help>

Tutorials <tutorial>

Writing a Plugin Model <qtgui/Perspectives/Fitting/plugin>

Scripting Interface to Sasmodels <qtgui/Perspectives/Fitting/scripting>
Expand Down
3 changes: 3 additions & 0 deletions installers/sasview.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ PYTHON_PACKAGES = sysconfig.get_path('platlib')

datas = [
('../src/sas/qtgui/images', 'images'),
('../src/sas/qtgui/images', "sas/qtgui/images"),
('../src/sas/sasview/media', 'media'),
('../src/sas/example_data', 'example_data'),
('../src/sas/sascalc/calculator/ausaxs/lib', 'sas/sascalc/calculator/ausaxs/lib'),
('../src/sas/qtgui/Utilities/Reports/report_style.css', 'sas/qtgui/Utilities/Reports'),
('../src/sas/qtgui/Perspectives/Fitting/plugin_models', 'plugin_models'),
('../src/sas/qtgui/Utilities/WhatsNew/messages', 'sas/qtgui/Utilities/WhatsNew/messages'),
('../src/sas/qtgui/Utilities/WhatsNew/css/style.css', 'sas/qtgui/Utilities/WhatsNew/css'),
('../src/sas/qtgui/Utilities/About/images', 'sas/qtgui/Utilities/About/images'),
('../src/sas/system/log.ini', 'sas/system/'),
('../../sasmodels/sasmodels','sasmodels'),
('../docs/sphinx-docs/build','doc/build'),
Expand Down
97 changes: 0 additions & 97 deletions src/sas/qtgui/MainWindow/AboutBox.py

This file was deleted.

9 changes: 5 additions & 4 deletions src/sas/qtgui/MainWindow/GuiManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
from sas.qtgui.Utilities.HidableDialog import hidable_dialog
from sas.qtgui.Utilities.DocViewWidget import DocViewWindow
from sas.qtgui.Utilities.DocRegenInProgess import DocRegenProgress

from sas.qtgui.Utilities.Reports.ReportDialog import ReportDialog
from sas.qtgui.Utilities.Preferences.PreferencesPanel import PreferencesPanel
from sas.qtgui.Utilities.About.About import About

from sas.qtgui.MainWindow.Acknowledgements import Acknowledgements
from sas.qtgui.MainWindow.AboutBox import AboutBox
from sas.qtgui.MainWindow.WelcomePanel import WelcomePanel
from sas.qtgui.MainWindow.CategoryManager import CategoryManager
from sas.qtgui.MainWindow.PackageGatherer import PackageGatherer
Expand Down Expand Up @@ -184,7 +184,6 @@ def addWidgets(self):

# Add other, minor widgets
self.ackWidget = Acknowledgements()
self.aboutWidget = AboutBox()
self.categoryManagerWidget = CategoryManager(self._parent, manager=self)

self.grid_window = None
Expand Down Expand Up @@ -663,6 +662,7 @@ def actionWelcome(self):
self.welcomePanel.show()

def actionWhatsNew(self):
self.WhatsNew = WhatsNew(strictly_newer=False)
self.WhatsNew.show()

def showWelcomeMessage(self):
Expand Down Expand Up @@ -1286,7 +1286,8 @@ def actionAbout(self):
# Update the about box with current version and stuff

# TODO: proper sizing
self.aboutWidget.show()
about = About()
about.exec()

def actionCheck_for_update(self):
"""
Expand Down
18 changes: 12 additions & 6 deletions src/sas/qtgui/MainWindow/MainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
from PySide6.QtGui import QPixmap, QGuiApplication, QCursor
from PySide6.QtCore import Qt, QTimer

from importlib import resources

# Local UI
from sas.qtgui.UI import main_resources_rc
from .UI.MainWindowUI import Ui_SasView
Expand Down Expand Up @@ -57,12 +59,16 @@ def SplashScreen():
Displays splash screen as soon as humanely possible.
The screen will disappear as soon as the event loop starts.
"""
pixmap_path = "images/SVwelcome_mini.png"
if os.path.splitext(sys.argv[0])[1].lower() == ".py":
pixmap_path = "src/sas/qtgui/images/SVwelcome_mini.png"
pixmap = QPixmap(pixmap_path)
splashScreen = QSplashScreen(pixmap)
return splashScreen

with resources.open_binary("sas.qtgui.images", "SVwelcome_mini.png") as file:
image_data = file.read()

pixmap = QPixmap()
pixmap.loadFromData(image_data)

splashScreen = QSplashScreen(pixmap)

return splashScreen

def get_highdpi_scaling():
return 1.0
Expand Down
Loading

0 comments on commit 3e1840f

Please sign in to comment.