Skip to content

Commit

Permalink
Code now working re #5414
Browse files Browse the repository at this point in the history
Signed-off-by: Karl Palmen <karl.palmen@stfc.ac.uk>
  • Loading branch information
KarlPalmen committed May 29, 2012
1 parent 89481f8 commit 61e4a91
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions Code/Mantid/Framework/Algorithms/src/ApplyCalibration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ namespace Mantid
for (int i = 0; i < numDetector; ++i)
{
Geometry::IDetector_sptr det = boost::const_pointer_cast<Geometry::IDetector>(instrument->getDetector(detID[i]));

det->setPos(detPos[i]); // We need to make this an absolute position, but first we leave it relative to get a build
setDetectorPosition( Ws, instrument, detID[i], detPos[i], false );
}

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ def PyInit(self):

def PyExec(self):
tableWS = WorkspaceFactory.createTable()
tableWS.addColumn(type="int",name="Detector ID")
tableWS.addColumn(type="V3D",name="Detector Position")

self.setProperty("OutputWorkspace", tableWS)

Expand Down

0 comments on commit 61e4a91

Please sign in to comment.