AddSampleLog() takes a string and adds it to a workspace's sample logs. SANS...
AddSampleLog() takes a string and adds it to a workspace's sample logs. SANS scripts now save the name of the mask file which can be retrieved with Python like pWS=mtd['992front_2D'];print pWS.getSampleDetails().getLogData('UserFile').value() refs #1237
Showing
- Code/Mantid/Algorithms/Algorithms.vcproj 8 additions, 0 deletionsCode/Mantid/Algorithms/Algorithms.vcproj
- Code/Mantid/Algorithms/inc/MantidAlgorithms/AddSampleLog.h 72 additions, 0 deletionsCode/Mantid/Algorithms/inc/MantidAlgorithms/AddSampleLog.h
- Code/Mantid/Algorithms/src/AddSampleLog.cpp 46 additions, 0 deletionsCode/Mantid/Algorithms/src/AddSampleLog.cpp
- Code/Mantid/Algorithms/test/AddSampleLogTest.h 56 additions, 0 deletionsCode/Mantid/Algorithms/test/AddSampleLogTest.h
- Code/Mantid/PythonAPI/scripts/SANS/SANSReduction.py 10 additions, 1 deletionCode/Mantid/PythonAPI/scripts/SANS/SANSReduction.py
Code/Mantid/Algorithms/src/AddSampleLog.cpp
0 → 100644
Please register or sign in to comment