Skip to content

Commit

Permalink
Refs #11362 Add SaveMDVersion attribute to MDHistoWorkspace group.
Browse files Browse the repository at this point in the history
  • Loading branch information
rosswhitfield committed Apr 22, 2015
1 parent f468a0d commit adc0024
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Code/Mantid/Framework/MDAlgorithms/src/SaveMD2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ void SaveMD2::doSaveHisto(Mantid::DataObjects::MDHistoWorkspace_sptr ws) {

// The base entry. Named so as to distinguish from other workspace types.
file->makeGroup("MDHistoWorkspace", "NXentry", true);
file->putAttr("SaveMDVersion", 2);

// Write out the coordinate system
file->writeData("coordinate_system",
Expand Down

0 comments on commit adc0024

Please sign in to comment.