Commit af7a7b89 authored by Kendrick, Coleman's avatar Kendrick, Coleman
Browse files

Fix property description bug in LoadNexusLogs and absorption utils

parent eed42207
......@@ -413,11 +413,11 @@ void LoadNexusLogs::init() {
declareProperty(std::make_unique<PropertyWithValue<std::vector<std::string>>>("AllowList", std::vector<std::string>(),
Direction::Input),
"If specified, only these logs will be loaded from the file (each "
"separated by a space).");
"separated by a comma).");
declareProperty(std::make_unique<PropertyWithValue<std::vector<std::string>>>("BlockList", std::vector<std::string>(),
Direction::Input),
"If specified, these logs will NOT be loaded from the file (each "
"separated by a space).");
"separated by a comma).");
}
/** Executes the algorithm. Reading in the file and creating and populating
......
......@@ -100,7 +100,7 @@ public:
TS_ASSERT_EQUALS(buffer.use_count(), 1)
TS_ASSERT_EQUALS(buffer->getNumberHistograms(), 49152)
int events = buffer->getNumberEvents();
size_t events = buffer->getNumberEvents();
for (int i = 0; i < nchunks - 1; i++) {
TS_ASSERT_EQUALS(listener->runStatus(), ILiveListener::Running)
......
......@@ -452,9 +452,9 @@ def create_absorption_input(
absName = metaws
if metaws is None:
absName = '__{}_abs'.format(_getBasename(filename))
allowed_log = " ".join([
allowed_log = ",".join([
'SampleFormula', 'SampleDensity', "BL11A:CS:ITEMS:HeightInContainerUnits",
"SampleContainer"
"SampleContainer", "SampleMass"
])
Load(Filename=filename, OutputWorkspace=absName, MetaDataOnly=True, AllowList=allowed_log)
......
Supports Markdown
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