1 | ws1 = CreateWorkspace(OutputWorkspace='SomeWorkspace',DataX='1',DataY='2',DataE='3',UnitX='Label',VerticalAxisUnit='Empty',VerticalAxisValues='0') |
---|
2 | ws2 = CreateWorkspace(OutputWorkspace='SomeOtherWorkspace',DataX='1',DataY='2',DataE='3',UnitX='Label',VerticalAxisUnit='Empty',VerticalAxisValues='0') |
---|
3 | |
---|
4 | #Add logs to first workspace |
---|
5 | AddSampleLog(Workspace='SomeWorkspace',LogName='A',LogText='Hello') |
---|
6 | AddSampleLog(Workspace='SomeWorkspace',LogName='B',LogText='World') |
---|
7 | |
---|
8 | #Add logs to second workspace |
---|
9 | AddSampleLog(Workspace='SomeOtherWorkspace',LogName='A',LogText='Hello') |
---|
10 | AddSampleLog(Workspace='SomeOtherWorkspace',LogName='B',LogText='Universe') |
---|
11 | |
---|
12 | CopyLogs(InputWorkspace=ws1, OutputWorkspace=ws2,MergeStrategy="MergeReplaceExisting") |
---|