You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FrameworkIssues and pull requests related to components in the FrameworkStaleThis label is automatically applied to issues that are automatically closed by the stale bot
works as expected and ws and w2s after the script are the sum of the
initial workspace and the addendum.
If, from other side, one tries to work like this:
w1=[mtd['w1'],mtd['w2']]
ws=[mtd['ws'],mtd['w2s']]
for i in xrange(len(ws)):
ws[i]+=w1[i]
print "Sum workspace has {0} events in it".format(ws[i].getNumberEvents())
result will be different and ws and w2s in Mantid will remain unchanged despite print row in the loop would report that the workspaces are added together (print will work if the workspaces are event workspaces).
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If you feel this is incorrect please comment to keep it alive, with a reason why.
To prevent closure, e.g. for long-term planning issues, add the "Never Stale" label.
stalebot
added
the
Stale
This label is automatically applied to issues that are automatically closed by the stale bot
label
Feb 24, 2021
FrameworkIssues and pull requests related to components in the FrameworkStaleThis label is automatically applied to issues that are automatically closed by the stale bot
This issue was originally TRAC 9957
lets assume workspaces w1, w1s, w2 and w2s are loaded in Mantid and can be added together
then the script:
works as expected and ws and w2s after the script are the sum of the
initial workspace and the addendum.
If, from other side, one tries to work like this:
result will be different and ws and w2s in Mantid will remain unchanged despite print row in the loop would report that the workspaces are added together (print will work if the workspaces are event workspaces).
The text was updated successfully, but these errors were encountered: