Skip to content

Commit

Permalink
Added databaseID to workspace output. Refs #9223.
Browse files Browse the repository at this point in the history
  • Loading branch information
jawrainey committed Apr 1, 2014
1 parent 4b643b1 commit 6120113
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Code/Mantid/Framework/ICat/src/ICat4/ICat4Catalog.cpp
Expand Up @@ -390,6 +390,7 @@ namespace Mantid
if (outputws->getColumnNames().empty())
{
// Add rows headers to the output workspace.
outputws->addColumn("long64","DatabaseID");
outputws->addColumn("str","InvestigationID");
outputws->addColumn("str","Facility");
outputws->addColumn("str","Title");
Expand All @@ -413,6 +414,7 @@ namespace Mantid
std::string emptyCell("");

// Now add the relevant investigation data to the table (They always exist).
savetoTableWorkspace(investigation->id, table);
savetoTableWorkspace(investigation->name, table);
savetoTableWorkspace(investigation->facility->name, table);
savetoTableWorkspace(investigation->title, table);
Expand Down

0 comments on commit 6120113

Please sign in to comment.