Changeset e0f28e6 in sasview
- Timestamp:
- Oct 4, 2016 3:13:42 PM (8 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- c1fdf84
- Parents:
- d4c8513a
- Files:
-
- 3 added
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
sasview/local_config.py
re74274ab re0f28e6 35 35 '''Acknowledge its use in your publications as suggested below''' 36 36 _acknowledgement_preamble_bullet2 =\ 37 '''Reference SasView as : Doucet M, et. al. SasView version 4.0, Zenodo''' +\37 '''Reference SasView as : M. Doucet, et al. SasView Version 4.0, Zenodo''' +\ 38 38 ''', http://doi.org/10.5281/zenodo.159083''' 39 39 _acknowledgement_preamble_bullet3 =\ … … 43 43 _acknowledgement_publications = \ 44 44 '''This work benefited from the use of the SasView application, originally 45 developed under NSF award DMR-0520547. SasView contains code developed with46 funding from the European Union's Horizon 2020 research and innovation programme 47 under the SINE2020 project, grant agreement No 654000. 48 ''' 45 developed under NSF Award DMR-0520547. SasView also contains code developed 46 with funding from the EU Horizon 2020 research and innovation programme under 47 the SINE2020 project Grant No 654000.''' 48 49 49 _acknowledgement = \ 50 '''This work originally developed as part of the DANSE project funded by the NSF 51 under grant DMR-0520547, and currently maintained by NIST, UMD, ORNL, ISIS, ESS 52 and ILL. SasView contains code developed with funding from the European Union's 53 Horizon 2020 research and innovation programme under the SINE2020 project, grant 54 agreement No 654000. 50 '''This work was originally developed as part of the DANSE project funded by the US NSF under Award DMR-0520547, but is currently maintained by a 51 collaboration between UTK, UMD, NIST, ORNL, ISIS, ESS, ILL and ANSTO. SasView also contains code developed with funding from the EU Horizon 2020 52 research and innovation programme under the SINE2020 project (Grant No 654000).''' 55 53 56 '''57 54 _homepage = "http://www.sasview.org" 58 55 _download = __download_page__ … … 70 67 _umd_logo = os.path.join(icon_path, "umd_logo.png") 71 68 _sns_logo = os.path.join(icon_path, "sns_logo.png") 69 _ornl_logo = os.path.join(icon_path, "ornl_logo.png") 72 70 _isis_logo = os.path.join(icon_path, "isis_logo.png") 73 71 _ess_logo = os.path.join(icon_path, "ess_logo.png") 74 72 _ill_logo = os.path.join(icon_path, "ill_logo.png") 73 _ansto_logo = os.path.join(icon_path, "ansto_logo.png") 75 74 _nsf_logo = os.path.join(icon_path, "nsf_logo.png") 76 75 _danse_logo = os.path.join(icon_path, "danse_logo.png") … … 79 78 _umd_url = "http://www.umd.edu/" 80 79 _sns_url = "http://neutrons.ornl.gov/" 80 _ornl_url = "http://neutrons.ornl.gov/" 81 81 _nsf_url = "http://www.nsf.gov" 82 82 _isis_url = "http://www.isis.stfc.ac.uk/" 83 83 _ess_url = "http://ess-scandinavia.eu/" 84 84 _ill_url = "http://www.ill.eu/" 85 _ansto_url = "http://www.ansto.gov.au/" 85 86 _danse_url = "http://www.cacr.caltech.edu/projects/danse/release/index.html" 86 87 _inst_url = "http://www.utk.edu" 87 88 _corner_image = os.path.join(icon_path, "angles_flat.png") 88 89 _welcome_image = os.path.join(icon_path, "SVwelcome.png") 89 _copyright = "(c) 2009 - 2016, UTK, UMD, NIST, ORNL, ISIS, ESS and ILL"90 _copyright = "(c) 2009 - 2016, UTK, UMD, NIST, ORNL, ISIS, ESS, ILL and ANSTO" 90 91 91 92 -
src/sas/sasgui/guiframe/aboutbox.py
rd85c194 re0f28e6 106 106 self.bitmap_button_nist = wx.BitmapButton(self, -1, wx.NullBitmap) 107 107 self.bitmap_button_umd = wx.BitmapButton(self, -1, wx.NullBitmap) 108 self.bitmap_button_sns = wx.BitmapButton(self, -1, wx.NullBitmap) 108 self.bitmap_button_ornl = wx.BitmapButton(self, -1, wx.NullBitmap) 109 #self.bitmap_button_sns = wx.BitmapButton(self, -1, wx.NullBitmap) 109 110 #self.bitmap_button_nsf = wx.BitmapButton(self, -1, 110 111 # wx.NullBitmap) … … 115 116 self.bitmap_button_ess = wx.BitmapButton(self, -1, wx.NullBitmap) 116 117 self.bitmap_button_ill = wx.BitmapButton(self, -1, wx.NullBitmap) 118 self.bitmap_button_ansto = wx.BitmapButton(self, -1, wx.NullBitmap) 117 119 118 120 self.static_line_3 = wx.StaticLine(self, -1) … … 124 126 self.Bind(wx.EVT_BUTTON, self.onNistLogo, self.bitmap_button_nist) 125 127 self.Bind(wx.EVT_BUTTON, self.onUmdLogo, self.bitmap_button_umd) 126 self.Bind(wx.EVT_BUTTON, self.onSnsLogo, self.bitmap_button_sns) 128 #self.Bind(wx.EVT_BUTTON, self.onSnsLogo, self.bitmap_button_sns) 129 self.Bind(wx.EVT_BUTTON, self.onOrnlLogo, self.bitmap_button_ornl) 127 130 #self.Bind(wx.EVT_BUTTON, self.onNsfLogo, self.bitmap_button_nsf) 128 131 #self.Bind(wx.EVT_BUTTON, self.onDanseLogo, self.bitmap_button_danse) … … 131 134 self.Bind(wx.EVT_BUTTON, self.onEssLogo, self.bitmap_button_ess) 132 135 self.Bind(wx.EVT_BUTTON, self.onIllLogo, self.bitmap_button_ill) 136 self.Bind(wx.EVT_BUTTON, self.onAnstoLogo, self.bitmap_button_ansto) 133 137 # end wxGlade 134 138 # fill in acknowledgements … … 163 167 self.bitmap_button_umd.SetBitmapLabel(logo) 164 168 165 169 image = file_dir + "/images/ornl_logo.png" 170 if os.path.isfile(config._ornl_logo): 171 image = config._ornl_logo 172 logo = wx.Bitmap(image) 173 self.bitmap_button_ornl.SetBitmapLabel(logo) 174 175 """ 166 176 image = file_dir + "/images/sns_logo.png" 167 177 if os.path.isfile(config._sns_logo): … … 170 180 self.bitmap_button_sns.SetBitmapLabel(logo) 171 181 172 """173 182 image = file_dir + "/images/nsf_logo.png" 174 183 if os.path.isfile(config._nsf_logo): … … 206 215 logo = wx.Bitmap(image) 207 216 self.bitmap_button_ill.SetBitmapLabel(logo) 217 218 image = file_dir + "/images/ansto_logo.png" 219 if os.path.isfile(config._ansto_logo): 220 image = config._ansto_logo 221 logo = wx.Bitmap(image) 222 self.bitmap_button_ansto.SetBitmapLabel(logo) 208 223 209 224 # resize dialog window to fit version number nicely … … 227 242 self.bitmap_button_nist.SetSize(self.bitmap_button_nist.GetBestSize()) 228 243 self.bitmap_button_umd.SetSize(self.bitmap_button_umd.GetBestSize()) 229 self.bitmap_button_sns.SetSize(self.bitmap_button_sns.GetBestSize()) 244 self.bitmap_button_ornl.SetSize(self.bitmap_button_ornl.GetBestSize()) 245 #self.bitmap_button_sns.SetSize(self.bitmap_button_sns.GetBestSize()) 230 246 #self.bitmap_button_nsf.SetSize(self.bitmap_button_nsf.GetBestSize()) 231 247 #self.bitmap_button_danse.SetSize(self.bitmap_button_danse.GetBestSize()) … … 234 250 self.bitmap_button_ess.SetSize(self.bitmap_button_ess.GetBestSize()) 235 251 self.bitmap_button_ill.SetSize(self.bitmap_button_ill.GetBestSize()) 252 self.bitmap_button_ansto.SetSize(self.bitmap_button_ansto.GetBestSize()) 236 253 # end wxGlade 237 254 … … 285 302 sizer_logos.Add(self.bitmap_button_nist, 0, 286 303 wx.LEFT|wx.ADJUST_MINSIZE, 2) 287 sizer_logos.Add(self.bitmap_button_sns, 0, 304 #sizer_logos.Add(self.bitmap_button_sns, 0, 305 # wx.LEFT|wx.ADJUST_MINSIZE, 2) 306 sizer_logos.Add(self.bitmap_button_ornl, 0, 288 307 wx.LEFT|wx.ADJUST_MINSIZE, 2) 289 308 sizer_logos.Add(self.bitmap_button_isis, 0, … … 292 311 wx.LEFT|wx.ADJUST_MINSIZE, 2) 293 312 sizer_logos.Add(self.bitmap_button_ill, 0, 313 wx.LEFT|wx.ADJUST_MINSIZE, 2) 314 sizer_logos.Add(self.bitmap_button_ansto, 0, 294 315 wx.LEFT|wx.ADJUST_MINSIZE, 2) 295 316 … … 321 342 event.Skip() 322 343 344 def onOrnlLogo(self, event): 345 """ 346 """ 347 # wxGlade: DialogAbout.<event_handler> 348 launchBrowser(config._ornl_url) 349 event.Skip() 350 323 351 def onSnsLogo(self, event): 324 352 """ … … 368 396 # wxGlade: DialogAbout.<event_handler> 369 397 launchBrowser(config._ill_url) 398 event.Skip() 399 400 def onAnstoLogo(self, event): 401 """ 402 """ 403 # wxGlade: DialogAbout.<event_handler> 404 launchBrowser(config._ansto_url) 370 405 event.Skip() 371 406
Note: See TracChangeset
for help on using the changeset viewer.