Skip to content

Commit

Permalink
re #10509 solve failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
NickDraper committed Nov 27, 2014
1 parent b846000 commit 6cbea49
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Code/Mantid/Framework/API/src/ExperimentInfo.cpp
Expand Up @@ -114,8 +114,11 @@ namespace API
<< inst->getValidFromDate().toFormattedString("%Y-%b-%d")
<< " to " << inst->getValidToDate().toFormattedString("%Y-%b-%d") << ")";
out << "\n";
out << "Instrument from: " << inst->getFilename();
out << "\n";
if (!inst->getFilename().empty())
{
out << "Instrument from: " << inst->getFilename();
out << "\n";
}

//parameter files loaded
auto paramFileVector = this->instrumentParameters().getParameterFilenames();
Expand Down

0 comments on commit 6cbea49

Please sign in to comment.