Skip to content
Snippets Groups Projects
Commit 5d7d5244 authored by Anton Piccardo-Selg's avatar Anton Piccardo-Selg
Browse files

Merge pull request #13999 from mantidproject/13997_source_z_pos

Fix Bilby IDF and Loader for Source Position based on Logs
parents e1cdae29 07b4ac11
No related branches found
No related tags found
No related merge requests found
......@@ -405,6 +405,7 @@ void LoadBBY::exec() {
createChildAlgorithm("LoadInstrument");
loadInstrumentAlg->setProperty("Workspace", eventWS);
loadInstrumentAlg->setPropertyValue("InstrumentName", "BILBY");
loadInstrumentAlg->setProperty("RewriteSpectraMap", false);
loadInstrumentAlg->executeAsChildAlg();
setProperty("OutputWorkspace", eventWS);
......@@ -826,4 +827,4 @@ void BbyDetectorBankFactory::createAndAssign(size_t startIndex,
}
} // DataHandling
} // Mantid
\ No newline at end of file
} // Mantid
......@@ -26,7 +26,7 @@
<component name="Source" type="source">
<location x="0.0" y="0.0" />
<parameter name="z">
<logfile id="L1_chopper_value" eq="1*value"/>
<logfile id="L1_chopper_value" eq="-1*value"/>
</parameter>
</component>
<type name="source" is="Source" />
......@@ -503,4 +503,4 @@
</instrument>
\ No newline at end of file
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