Skip to content

Commit

Permalink
Re #4303 Preserve meta-data when creating output workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
mdoucet committed Jan 18, 2012
1 parent da7df62 commit 5804352
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ def createIntegratedWorkspace(mt1, outputWorkspace,
#normalization by proton charge
# _y_axis /= (proton_charge * 1e-12)

CreateWorkspace(outputWorkspace, DataX=_tof_axis, DataY=_y_axis, DataE=_y_error_axis, Nspec=maxY)
CreateWorkspace(OutputWorkspace=outputWorkspace,
DataX=_tof_axis, DataY=_y_axis, DataE=_y_error_axis, Nspec=maxY,
UnitX="TOF",ParentWorkspace=mt1)
mt2 = mtd[outputWorkspace]
return mt2

Expand Down

0 comments on commit 5804352

Please sign in to comment.