Commit 2a8162ab authored by Sullivan, Brendan T's avatar Sullivan, Brendan T
Browse files

Re #24314 expose V3D version of setSamplePos to python

parent 5914502b
......@@ -97,6 +97,11 @@ void export_IPeak() {
(arg("self"), arg("samX"), arg("samY"), arg("samZ")),
"Set the samplePos value of this peak. It does not set the "
"instrument sample position.")
.def("setSamplePos",
(void (IPeak::*)(const Mantid::Kernel::V3D&)) & IPeak::setSamplePos,
(arg("self"), arg("newPos")),
"Set the samplePos value of this peak. It does not set the "
"instrument sample position.")
.def("setH", &IPeak::setH, (arg("self"), arg("h")),
"Get the H index of the peak")
.def("setK", &IPeak::setK, (arg("self"), arg("k")),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment