Skip to content

Commit

Permalink
Correct a spelling error. Refs #7506.
Browse files Browse the repository at this point in the history
  • Loading branch information
wdzhou committed Jul 30, 2013
1 parent 3ab7e48 commit 44688b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ namespace Algorithms
//Disable default gsl error handler (which is to call abort!)
gsl_set_error_handler_off();

auto tablewsprop = new WorkspaceProperty<TableWorkspace>("SpetraFitInfoTableWorkspace", "FitInfoTable", Direction::Output);
auto tablewsprop = new WorkspaceProperty<TableWorkspace>("SpectraFitInfoTableWorkspace", "FitInfoTable", Direction::Output);
declareProperty(tablewsprop, "Name of the output table workspace containing spectra peak fit information.");

auto offsetwsprop = new WorkspaceProperty<TableWorkspace>("PeaksOffsetTableWorkspace", "PeakOffsetTable", Direction::Output);
Expand Down Expand Up @@ -266,7 +266,7 @@ namespace Algorithms
m_infoTableWS->addColumn("int", "NumberPeaksToFit");
m_infoTableWS->addColumn("str", "OffsetFitStatus");
m_infoTableWS->addColumn("double", "ChiSquare");
setProperty("SpetraFitInfoTableWorkspace", m_infoTableWS);
setProperty("SpectraFitInfoTableWorkspace", m_infoTableWS);

// Create output peak offset workspace
auto m_peakOffsetTableWS = boost::make_shared<TableWorkspace>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class GetDetOffsetsMultiPeaksTest : public CxxTest::TestSuite
TS_ASSERT_THROWS_NOTHING( offsets.setPropertyValue("OutputWorkspace",outputWS) );
TS_ASSERT_THROWS_NOTHING( offsets.setPropertyValue("MaskWorkspace",maskWS) );
TS_ASSERT_THROWS_NOTHING(offsets.setPropertyValue("DReference","9.98040"));
TS_ASSERT_THROWS_NOTHING(offsets.setPropertyValue("SpetraFitInfoTableWorkspace", "FitInfoTable"));
TS_ASSERT_THROWS_NOTHING(offsets.setPropertyValue("SpectraFitInfoTableWorkspace", "FitInfoTable"));
TS_ASSERT_THROWS_NOTHING( offsets.execute() );
TS_ASSERT( offsets.isExecuted() );

Expand Down Expand Up @@ -103,7 +103,7 @@ class GetDetOffsetsMultiPeaksTest : public CxxTest::TestSuite
TS_ASSERT_THROWS_NOTHING( offsets.setPropertyValue("OutputWorkspace",outputWS) );
TS_ASSERT_THROWS_NOTHING( offsets.setPropertyValue("MaskWorkspace",maskWS) );
TS_ASSERT_THROWS_NOTHING(offsets.setPropertyValue("DReference","9.98040"));
TS_ASSERT_THROWS_NOTHING(offsets.setPropertyValue("SpetraFitInfoTableWorkspace", "FitInfoTable"));
TS_ASSERT_THROWS_NOTHING(offsets.setPropertyValue("SpectraFitInfoTableWorkspace", "FitInfoTable"));
TS_ASSERT_THROWS_NOTHING( offsets.execute() );
TS_ASSERT( offsets.isExecuted() );

Expand Down

0 comments on commit 44688b8

Please sign in to comment.