Skip to content
Snippets Groups Projects
Commit 6dd95ff9 authored by Lynch, Vickie's avatar Lynch, Vickie
Browse files

Refs #25657 change to child algorithm

parent 1584522c
No related branches found
No related tags found
No related merge requests found
...@@ -543,11 +543,10 @@ void LoadIsawPeaks::appendFile(PeaksWorkspace_sptr outWS, ...@@ -543,11 +543,10 @@ void LoadIsawPeaks::appendFile(PeaksWorkspace_sptr outWS,
prog.report(in.tellg()); prog.report(in.tellg());
} }
if (m_isModulatedStructure) { if (m_isModulatedStructure) {
FindUBUsingIndexedPeaks alg2; IAlgorithm_sptr findUB = createChildAlgorithm("FindUBUsingIndexedPeaks");
alg2.initialize(); findUB->setPropertyValue("ToleranceForSatellite", "0.05");
alg2.setPropertyValue("ToleranceForSatellite", "0.05"); findUB->setProperty<PeaksWorkspace_sptr>("PeaksWorkspace", outWS);
alg2.setProperty("PeaksWorkspace", outWS); findUB->executeAsChildAlg();
alg2.execute();
if (outWS->mutableSample().hasOrientedLattice()) { if (outWS->mutableSample().hasOrientedLattice()) {
OrientedLattice o_lattice = outWS->mutableSample().getOrientedLattice(); OrientedLattice o_lattice = outWS->mutableSample().getOrientedLattice();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment