Changeset 914ba0a in sasview for src/sas/sasview/local_config.py
- Timestamp:
- May 2, 2017 3:58:01 PM (7 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, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- d66dbcc
- Parents:
- 74d9780 (diff), 658dd57 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasview/local_config.py
refe730d r914ba0a 2 2 Application settings 3 3 """ 4 from __future__ import print_function 5 4 6 import time 5 7 import os … … 8 10 from sas.sasgui.guiframe.gui_style import GUIFRAME 9 11 import sas.sasview 12 13 logger = logging.getLogger(__name__) 10 14 11 15 # Version of the application … … 32 36 _acknowledgement_preamble =\ 33 37 '''To ensure the long term support and development of this software please''' +\ 34 ''' remember to do the following.'''38 ''' remember to:''' 35 39 _acknowledgement_preamble_bullet1 =\ 36 '''Acknowledge its use in your publications as suggested below'''40 '''Acknowledge its use in your publications as :''' 37 41 _acknowledgement_preamble_bullet2 =\ 38 '''Reference the following website: http://www.sasview.org'''42 '''Reference SasView as:''' 39 43 _acknowledgement_preamble_bullet3 =\ 40 44 '''Reference the model you used if appropriate (see documentation for refs)''' … … 42 46 '''Send us your reference for our records: developers@sasview.org''' 43 47 _acknowledgement_publications = \ 44 '''This work benefited from the use of the SasView application, originally 45 developed under NSF award DMR-0520547. 48 '''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.''' 49 _acknowledgement_citation = \ 50 '''M. Doucet et al. SasView Version 4.1, Zenodo, 10.5281/zenodo.438138''' 51 52 _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, 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 46 54 ''' 47 _acknowledgement = \48 '''This work originally developed as part of the DANSE project funded by the NSF49 under grant DMR-0520547, and currently maintained by NIST, UMD, ORNL, ISIS, ESS50 and ILL.51 55 52 '''53 56 _homepage = "http://www.sasview.org" 54 57 _download = __download_page__ … … 59 62 60 63 icon_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "images")) 61 logg ing.info("icon path: %s" % icon_path)64 logger.info("icon path: %s" % icon_path) 62 65 media_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "media")) 63 66 test_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "test")) … … 66 69 _umd_logo = os.path.join(icon_path, "umd_logo.png") 67 70 _sns_logo = os.path.join(icon_path, "sns_logo.png") 71 _ornl_logo = os.path.join(icon_path, "ornl_logo.png") 68 72 _isis_logo = os.path.join(icon_path, "isis_logo.png") 69 73 _ess_logo = os.path.join(icon_path, "ess_logo.png") 70 74 _ill_logo = os.path.join(icon_path, "ill_logo.png") 75 _ansto_logo = os.path.join(icon_path, "ansto_logo.png") 76 _tudelft_logo = os.path.join(icon_path, "tudelft_logo.png") 77 _dls_logo = os.path.join(icon_path, "dls_logo.png") 71 78 _nsf_logo = os.path.join(icon_path, "nsf_logo.png") 72 79 _danse_logo = os.path.join(icon_path, "danse_logo.png") … … 75 82 _umd_url = "http://www.umd.edu/" 76 83 _sns_url = "http://neutrons.ornl.gov/" 84 _ornl_url = "http://neutrons.ornl.gov/" 77 85 _nsf_url = "http://www.nsf.gov" 78 86 _isis_url = "http://www.isis.stfc.ac.uk/" 79 87 _ess_url = "http://ess-scandinavia.eu/" 80 88 _ill_url = "http://www.ill.eu/" 89 _ansto_url = "http://www.ansto.gov.au/" 90 _tudelft_url = "http://www.tnw.tudelft.nl/en/cooperation/facilities/reactor-instituut-delft/" 91 _dls_url = "http://www.diamond.ac.uk/" 81 92 _danse_url = "http://www.cacr.caltech.edu/projects/danse/release/index.html" 82 93 _inst_url = "http://www.utk.edu" 83 94 _corner_image = os.path.join(icon_path, "angles_flat.png") 84 95 _welcome_image = os.path.join(icon_path, "SVwelcome.png") 85 _copyright = "(c) 2009 - 201 3, UTK, UMD, NIST, ORNL, ISIS, ESS and ILL"86 96 _copyright = "(c) 2009 - 2017, UTK, UMD, NIST, ORNL, ISIS, ESS, ILL, ANSTO, TU Delft and DLS" 97 marketplace_url = "http://marketplace.sasview.org/" 87 98 88 99 #edit the list of file state your plugin can read … … 91 102 GUIFRAME_WIDTH = 1150 92 103 GUIFRAME_HEIGHT = 840 93 PLUGIN_STATE_EXTENSIONS = ['.fitv', '.inv', '.prv' ]104 PLUGIN_STATE_EXTENSIONS = ['.fitv', '.inv', '.prv', '.crf'] 94 105 PLUGINS_WLIST = ['Fitting files (*.fitv)|*.fitv', 95 106 'Invariant files (*.inv)|*.inv', 96 'P(r) files (*.prv)|*.prv'] 107 'P(r) files (*.prv)|*.prv', 108 'Corfunc files (*.crf)|*.crf'] 97 109 PLOPANEL_WIDTH = 415 98 110 PLOPANEL_HEIGTH = 370 … … 133 145 UPDATE_TIMEOUT = 2 134 146 147 #OpenCL option 148 SAS_OPENCL = None 149 135 150 def printEVT(message): 136 151 if __EVT_DEBUG__: … … 138 153 :TODO - Need method doc string 139 154 """ 140 print "%g: %s" % (time.clock(), message)155 print("%g: %s" % (time.clock(), message)) 141 156 142 157 if __EVT_DEBUG_2_FILE__:
Note: See TracChangeset
for help on using the changeset viewer.