Skip to content

Commit

Permalink
Refs #4930. Added extra check for iparm in SaveGSS.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfpeterson committed Mar 7, 2012
1 parent 8564f4f commit 637ae5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/DataHandling/src/SaveGSS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ namespace Mantid
if (runinfo.hasProperty("iparm_file"))
{
Kernel::Property* prop = runinfo.getProperty("iparm_file");
if (prop != NULL)
if (prop != NULL && (!prop->value().empty()))
{
std::stringstream line;
line << "Instrument parameter file: "
Expand Down

0 comments on commit 637ae5c

Please sign in to comment.