Changeset 82d88d5 in sasview for src/sas/sasview
- Timestamp:
- Mar 6, 2019 4:18:09 PM (5 years ago)
- Branches:
- master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1249
- Children:
- f923967
- Parents:
- cb64d86 (diff), f205d3a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Location:
- src/sas/sasview
- Files:
-
- 4 added
- 2 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasview/__init__.py
rb229a3b r5e16b30 1 __version__ = "4.2.0" 1 from distutils.version import StrictVersion 2 __version__ = "4.2.1" 3 StrictVersion(__version__) 4 __DOI__ = "Zenodo, 10.5281/zenodo.2561236" 5 __release_date__ = "2019" 2 6 __build__ = "GIT_COMMIT" -
src/sas/sasview/local_config.py
r1b4cb41 r839f70f7 16 16 __appname__ = "SasView" 17 17 __version__ = sas.sasview.__version__ 18 __DOI__ = sas.sasview.__DOI__ 19 __release_date__ = sas.sasview.__release_date__ 18 20 __build__ = sas.sasview.__build__ 19 21 __download_page__ = 'https://github.com/SasView/sasview/releases' … … 36 38 _do_tutorial = True 37 39 _acknowledgement_preamble =\ 38 '''To ensure the long term support and development of this software please ''' +\39 '''remember to:'''40 '''To ensure the long term support and development of this software please 41 remember to:''' 40 42 _acknowledgement_preamble_bullet1 =\ 41 43 '''Acknowledge its use in your publications as :''' … … 47 49 '''Send us your reference for our records: developers@sasview.org''' 48 50 _acknowledgement_publications = \ 49 '''This work benefited from the use of the SasView application, originally developed under NSF Award DMR-0520547. SasView also contains code developed with funding from the EU Horizon 2020 programme under the SINE2020 project Grant No 654000.''' 51 ("This work benefited from the use of the SasView application, originally" 52 "developed under NSF Award DMR-0520547. SasView also contains code developed" 53 "with funding from the EU Horizon 2020 programme under the SINE2020 project" 54 "Grant No 654000.") 50 55 _acknowledgement_citation = \ 51 '''M. Doucet et al. SasView Version 4.2, Zenodo, 10.5281/zenodo.1412041'''56 '''M. Doucet et al. SasView Version %s, %s''' % (__version__, __DOI__) 52 57 _acknowledgement = \ 53 '''This work was originally developed as part of the DANSE project funded by the US NSF under Award DMR-0520547,\n but is currently maintained by a collaboration between UTK, UMD, NIST, ORNL, ISIS, ESS, ILL, ANSTO, TU Delft, DLS, BAM and the scattering community.\n\n SasView also contains code developed with funding from the EU Horizon 2020 programme under the SINE2020 project (Grant No 654000).\nA list of individual contributors can be found at: http://www.sasview.org/contact.html 54 ''' 58 ("This work was originally developed as part of the DANSE project funded by" 59 "the US NSF under Award DMR-0520547,\n but is currently maintained by a" 60 "collaboration between UTK, UMD, NIST, ORNL, ISIS, ESS, ILL, ANSTO, TU Delft," 61 "DLS, BAM and the scattering community.\n\n SasView also contains code" 62 "developed with funding from the EU Horizon 2020 programme under the SINE2020" 63 "project (Grant No 654000).\nA list of individual contributors can be found" 64 "at: http://www.sasview.org/contact.html") 55 65 56 66 _homepage = "http://www.sasview.org" … … 95 105 _corner_image = os.path.join(icon_path, "angles_flat.png") 96 106 _welcome_image = os.path.join(icon_path, "SVwelcome.png") 97 _copyright = "(c) 2009 - 2018, UTK, UMD, NIST, ORNL, ISIS, ESS, ILL, ANSTO, TU Delft, DLS and BAM" 107 _copyright = ("(c) 2009 - %s, UTK, UMD, NIST, ORNL, ISIS, ESS, ILL, ANSTO," 108 "TU Delft, DLS and BAM") % __release_date__ 98 109 marketplace_url = "http://marketplace.sasview.org/" 99 110 -
src/sas/sasview/sasview.py
r1270e3c r5251ec6 42 42 43 43 from sas.sasgui.guiframe.gui_manager import SasViewApp 44 from sas.sasgui.guiframe.gui_style import GUIFRAME_ICON 44 45 self.gui = SasViewApp(0) 46 GUIFRAME_ICON.load_icons() 45 47 if sys.platform == "darwin": 46 48 self.check_sasmodels_compiler() … … 228 230 logger.error("Wx version: error reading version") 229 231 230 from . import wxcruft 231 wxcruft.call_later_fix() 232 # TODO: Do we need the call later fix for wx 3? Or is it wx < 3 only? 233 if "phoenix" in wx.PlatformInfo: 234 #wx.NewId = wx.Window.NewControlId 235 pass 236 else: 237 from . import wxcruft 238 wxcruft.call_later_fix() 232 239 #wxcruft.trace_new_id() 233 240 #Always use private .matplotlib setup to avoid conflicts with other -
src/sas/sasview/welcome_panel.py
rb963b20 r5251ec6 2 2 Welcome page 3 3 """ 4 import wx5 import wx.aui6 import wx.lib.hyperlink7 4 import os.path 8 5 import os, sys 9 6 7 import wx 8 import wx.aui 9 try: 10 # CRUFT: wx 4 moved hyperlink to wx.lib.agw 11 from wx.lib import hyperlink 12 except ImportError: 13 from wx.lib.agw import hyperlink 10 14 from wx.lib.scrolledpanel import ScrolledPanel 11 15 … … 115 119 send_ticket += "help@sasview.org" 116 120 self.hyperlink_paper = \ 117 wx.lib.hyperlink.HyperLinkCtrl(self, -1,121 hyperlink.HyperLinkCtrl(self, -1, 118 122 send_ticket, URL=config._license) 119 123 -
src/sas/sasview/wxcruft.py
r914ba0a r5251ec6 4 4 import wx 5 5 from wx import Timer 6 import wx._misc7 6 8 7 def call_later_fix(): … … 16 15 17 16 def NewId(): 17 import wx._misc 18 18 id = wx._misc.NewId() 19 19 path, line, function = _get_caller()
Note: See TracChangeset
for help on using the changeset viewer.