Commit 5802b970 authored by Peterson, Peter's avatar Peterson, Peter
Browse files

Document the changes to DownloadInstrument

parent f5abb967
......@@ -9,10 +9,10 @@
Description
-----------
This algorithm connects with the cloud based Mantid Instrument Definition
This algorithm connects with the cloud based Mantid Instrument Definition
Repository and downloads any updated instrument files for use within Mantid.
This algorithm is normally run on startup of Mantid for official installed
This algorithm is normally run on startup of Mantid for official installed
releases of Mantid from version 3.3 onwards.
Mantid Property Keys
......@@ -26,6 +26,9 @@ UpdateInstrumentDefinitions.OnStartup = 1
UpdateInstrumentDefinitions.URL = https://api.github.com/repos/mantidproject/mantid/contents/instrument
This stores the url used to access the contents of the Mantid Instrument Definition Repository.
network.github.api_token = (not shown)
This overrides the github api token that is used by the algorithm. To use unauthenticated requests, set it to an empty string or the values ``unset``.
Output Messages
###############
......@@ -46,7 +49,7 @@ Instrument Definition Update: The Github API rate limit has been reached, try ag
The details
###########
The Mantid Instrument Definition Repository is currently a directory within the Mantid code repository on Github.
The Mantid Instrument Definition Repository is currently a directory within the Mantid code repository on Github.
https://github.com/mantidproject/mantid
The instrument files within Mantid can be accessed in three locations.
......
......@@ -196,6 +196,10 @@ Network Properties
| ``network.scriptrepo.timeout`` |The timeout for network operations in the script | ``5`` |
| |repository, this overrides the default timeout. | |
+-------------------------------------------+---------------------------------------------------+---------------------------------+
| ``network.github.api_token`` |The api token for github calls used by | (not shown) |
| |``DownloadInstrument``. Setting this to ``unset`` | |
| |or an empty string will turn off authentication. | |
+-------------------------------------------+---------------------------------------------------+---------------------------------+
| ``proxy.host`` | Allows the system proxy to be overridden, if not | ``http://www.proxy.org`` |
| | set mantid will use the system proxy | |
+-------------------------------------------+---------------------------------------------------+---------------------------------+
......
......@@ -22,6 +22,7 @@ Concepts
- Time-dependent values for individual instrument parameters are now allowed
- Added a ``PythonStdOutChannel`` and the ability to change the :ref:`logging channel <Properties File>` without restarting mantid framework
- Added packing fraction to :ref:`Material <Materials>` for separate and effective number density
- Bugfix :ref:`DownloadInstrument <algm-DownloadInstrument>` to try unauthenticated connections if authenticated failes. Also added the ability to allow for setting the github api token in the :ref:`properties file <Properties File>`
Algorithms
----------
......@@ -32,8 +33,8 @@ Algorithms
- :ref:`CropWorkspaceRagged <algm-CropWorkspaceRagged>` now produces a ragged workspace and can now be used on large data sets.
- :ref:`CreateGroupingWorkspace <algm-CreateGroupingWorkspace>` now has the ability to specify a ``CustomGroupingString``.
- :ref:`LoadLamp <algm-LoadLamp>` is corrected to load sample logs with python3.
- :ref:`CalculateEfficiency <algm-CalculateEfficiency>` has a new property ``MergeGroups`` that merges and averages the input group
Masked spectra will be filled with data (if available) from other entries of the input group instead of processing them
- :ref:`CalculateEfficiency <algm-CalculateEfficiency>` has a new property ``MergeGroups`` that merges and averages the input group
Masked spectra will be filled with data (if available) from other entries of the input group instead of processing them
entry-by-entry. The algorithm now also overwrites the ``processGroups`` method. These features aide the calculation of sensitivity maps.
Fitting
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment