Changeset d8161f2 in sasview
- Timestamp:
- Mar 25, 2017 5:56:07 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:
- e11ee1d
- Parents:
- 29e2665
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sasview/local_config.py
r1d310bb rd8161f2 33 33 ''' remember to:''' 34 34 _acknowledgement_preamble_bullet1 =\ 35 '''Acknowledge its use in your publications as suggested below;'''35 '''Acknowledge its use in your publications as :''' 36 36 _acknowledgement_preamble_bullet2 =\ 37 '''Reference SasView as : M. Doucet, et al. SasView Version 4.1, Zenodo''' +\ 38 ''', 10.5281/zenodo.438138;''' 37 '''Reference SasView as:''' 39 38 _acknowledgement_preamble_bullet3 =\ 40 '''Reference the model you used if appropriate (see documentation for refs) ;'''39 '''Reference the model you used if appropriate (see documentation for refs)''' 41 40 _acknowledgement_preamble_bullet4 =\ 42 41 '''Send us your reference for our records: developers@sasview.org''' 43 42 _acknowledgement_publications = \ 44 '''This work benefited from the use of the SasView application, originally developed under NSF Award 45 DMR-0520547. SasView also contains code developed with funding from the EU Horizon 2020 programme 46 under the SINE2020 project Grant No 654000.'''43 '''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.''' 44 _acknowledgement_citation = \ 45 '''M. Doucet et al. SasView Version 4.1, Zenodo, 10.5281/zenodo.438138''' 47 46 48 47 _acknowledgement = \ 49 '''This work was originally developed as part of the DANSE project funded by the US NSF under Award DMR-0520547, but is currently maintained 50 by a collaboration between UTK, UMD, NIST, ORNL, ISIS, ESS, ILL, ANSTO and TU Delft and the scattering community. SasView also contains code developed with funding from the 51 EU Horizon 2020 programme under the SINE2020 project (Grant No 654000). 52 53 A list of individual contributors can be found at: https://github.com/orgs/SasView/people 48 '''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 and TU Delft 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: https://github.com/orgs/SasView/people 54 49 ''' 55 50 -
src/sas/sasgui/guiframe/acknowledgebox.py
rc1fdf84 rd8161f2 11 11 import wx.richtext 12 12 import wx.lib.hyperlink 13 from wx.lib.expando import ExpandoTextCtrl 13 14 import random 14 15 import os.path … … 44 45 wx.Dialog.__init__(self, *args, **kwds) 45 46 46 self.ack = wx.TextCtrl(self, style=wx.TE_LEFT|wx.TE_MULTILINE|wx.TE_BESTWRAP|wx.TE_READONLY|wx.TE_NO_VSCROLL)47 self.ack = ExpandoTextCtrl(self, style=wx.TE_LEFT|wx.TE_MULTILINE|wx.TE_BESTWRAP|wx.TE_READONLY|wx.TE_NO_VSCROLL) 47 48 self.ack.SetValue(config._acknowledgement_publications) 48 self.ack.SetMinSize((-1, 55)) 49 #self.ack.SetMinSize((-1, 55)) 50 self.citation = ExpandoTextCtrl(self, style=wx.TE_LEFT|wx.TE_MULTILINE|wx.TE_BESTWRAP|wx.TE_READONLY|wx.TE_NO_VSCROLL) 51 self.citation.SetValue(config._acknowledgement_citation) 49 52 self.preamble = wx.StaticText(self, -1, config._acknowledgement_preamble) 50 53 items = [config._acknowledgement_preamble_bullet1, … … 81 84 sizer_titles.Add(self.preamble, 0, wx.ALL|wx.EXPAND, 5) 82 85 sizer_titles.Add(self.list1, 0, wx.ALL|wx.EXPAND, 5) 86 sizer_titles.Add(self.ack, 0, wx.ALL|wx.EXPAND, 5) 83 87 sizer_titles.Add(self.list2, 0, wx.ALL|wx.EXPAND, 5) 88 sizer_titles.Add(self.citation, 0, wx.ALL|wx.EXPAND, 5) 84 89 sizer_titles.Add(self.list3, 0, wx.ALL|wx.EXPAND, 5) 90 #sizer_titles.Add(self.static_line, 0, wx.ALL|wx.EXPAND, 0) 85 91 sizer_titles.Add(self.list4, 0, wx.ALL|wx.EXPAND, 5) 86 sizer_titles.Add(self.static_line, 0, wx.ALL|wx.EXPAND, 0)87 sizer_titles.Add(self.ack, 0, wx.ALL|wx.EXPAND, 5)88 92 sizer_main.Add(sizer_titles, -1, wx.ALL|wx.EXPAND, 5) 89 93 self.SetAutoLayout(True)
Note: See TracChangeset
for help on using the changeset viewer.