Commit 2fdde41d authored by Peter Parker's avatar Peter Parker
Browse files

Merge remote-tracking branch 'origin/feature/9114_mcstas_new_format'

parents 680debf4 d9c1ee15
......@@ -123,6 +123,9 @@ namespace DataHandling
*/
void LoadMcStas::exec()
{
std::string filename = getPropertyValue("Filename");
g_log.debug() << "Opening file " << filename << std::endl;
......@@ -556,7 +559,7 @@ namespace DataHandling
file.openGroup("simulation", "NXnote");
std::string nameAttrValue;
file.readData("name", nameAttrValue);
if(boost::iequals(nameAttrValue, "mcstas")) confidence = 98;
if(boost::iequals(nameAttrValue, "mccode")) confidence = 98;
file.closeGroup();
file.closeGroup();
}
......
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