Skip to content

Commit

Permalink
Updated alg doc so it reflect what is done in code. re #9467
Browse files Browse the repository at this point in the history
  • Loading branch information
Anders-Markvardsen committed Aug 13, 2014
1 parent f1865b5 commit 0aa2ccf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 1 addition & 3 deletions Code/Mantid/Framework/DataHandling/src/LoadIDFFromNexus.cpp
Expand Up @@ -95,10 +95,8 @@ void LoadIDFFromNexus::exec()
else
{
g_log.notice() << "Found Instrument parameter map entry in Nexus file, which is loaded" << std::endl;
// process parameterString into parameters in workspace
// process parameterString into parameters in workspace
localWorkspace->readParameterMap(parameterString);
// Populate these inst parameters
localWorkspace->populateInstrumentParameters();
}

return;
Expand Down
7 changes: 5 additions & 2 deletions Code/Mantid/docs/source/algorithms/LoadIDFFromNexus-v1.rst
Expand Up @@ -12,8 +12,11 @@ Description
Some Nexus files contain an instrument definition. This algorithm loads
the instrument from this definition. You may need to tell this algorithm
where in the Nexus file to find the Instrument folder, which contains
the instrument definition.

the instrument definition. It also looks to see if it contains a separate
instrument parameter map. If yes this is loaded. If no, the algorithm will
attempt to load on paramter file on your disk from your instrument folder
with the name INST_Parameters.xml. Notification are displayed to information
what the algorithm does.

Usage
-----
Expand Down

0 comments on commit 0aa2ccf

Please sign in to comment.