Commit fa6ed866 authored by John Tourtellott's avatar John Tourtellott Committed by Kitware Robot

Merge topic 'simcode-fix'

a077fc77 Get simulation code from sbt filename instead of the directory name
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: T.J. Corona's avatarT.J. Corona <tj.corona@kitware.com>
Merge-request: !1739
parents 6840d7d3 a077fc77
......@@ -237,8 +237,7 @@ bool Project::build(smtk::attribute::AttributePtr specification, smtk::io::Logge
// Extract the name of the simulation code from attFilePath
boost::filesystem::path attPath(attFileValue);
attPath.remove_filename();
auto simCode = attPath.filename().string();
auto simCode = attPath.stem().string();
std::transform(simCode.begin(), simCode.end(), simCode.begin(), ::tolower);
m_simulationCode = simCode;
......
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