Skip to content

Commit

Permalink
refs #8789. Improve documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed Jan 31, 2014
1 parent 8095434 commit 2d6f6c0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
Expand Up @@ -64,9 +64,9 @@ namespace Mantid
/// Sets documentation strings for this algorithm
void CreateTransmissionWorkspace::initDocs()
{
this->setOptionalMessage("Creates a transmission run workspace in Wavelength from input TOF workspaces.");
this->setWikiSummary(
"Creates a transmission run workspace in Wavelength from input TOF workspaces.");
this->setOptionalMessage(this->getWikiSummary());
"Creates a transmission run workspace in Wavelength from input TOF workspaces. See [[Reflectometry_Guide]]");
}

//----------------------------------------------------------------------------------------------
Expand Down
Expand Up @@ -124,9 +124,8 @@ namespace Mantid
/// Sets documentation strings for this algorithm
void ReflectometryReductionOne::initDocs()
{
this->setWikiSummary(
"Reduces a single TOF reflectometry run into a mod Q vs I/I0 workspace. Performs transmission corrections.");
this->setOptionalMessage(this->getWikiSummary());
this->setOptionalMessage("Reduces a single TOF reflectometry run into a mod Q vs I/I0 workspace. Performs transmission corrections.");
this->setWikiSummary("Reduces a single TOF reflectometry run into a mod Q vs I/I0 workspace. Performs transmission corrections. See [[Reflectometry_Guide]]");
}

//----------------------------------------------------------------------------------------------
Expand Down
Expand Up @@ -22,6 +22,9 @@ def name(self):
return "CreateTransmissionWorkspaceAuto"

def PyInit(self):

self.setOptionalMessage("Creates a transmission run workspace in Wavelength from input TOF workspaces.")
self.setWikiSummary("Creates a transmission run workspace in Wavelength from input TOF workspaces. See [[Reflectometry_Guide]]")

analysis_modes = ["PointDetectorAnalysis", "MultiDetectorAnalysis"]
analysis_mode_validator = StringListValidator(analysis_modes)
Expand Down
Expand Up @@ -22,7 +22,10 @@ def name(self):
return "ReflectometryReductionOneAuto"

def PyInit(self):


self.setOptionalMessage("Reduces a single TOF reflectometry run into a mod Q vs I/I0 workspace. Performs transmission corrections.")
self.setWikiSummary("Reduces a single TOF reflectometry run into a mod Q vs I/I0 workspace. Performs transmission corrections. See [[Reflectometry_Guide]]")

input_validator = WorkspaceUnitValidator("TOF")
self.declareProperty(MatrixWorkspaceProperty(name="InputWorkspace", defaultValue="", direction=Direction.Input, optional=PropertyMode.Mandatory), "Input run in TOF")

Expand Down

0 comments on commit 2d6f6c0

Please sign in to comment.