Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PlusMD crashes Mantid in conjuction with SliceViewer #5363

Closed
1 task done
abuts opened this issue Jan 16, 2012 · 1 comment
Closed
1 task done

PlusMD crashes Mantid in conjuction with SliceViewer #5363

abuts opened this issue Jan 16, 2012 · 1 comment
Labels
High Priority An issue or pull request that if not addressed is severe enough to postponse a release.
Milestone

Comments

@abuts
Copy link
Member

abuts commented Jan 16, 2012

Original Owner: @jzikovsky

This ticket is blocked by :

The script below crashes release Mantid under windows with 100% probability on one of PlusMD operation (rows 17,18,19) after 2-13 iterations.

This happens only when SliceViewer row (20) is enabled.

Does not happen for Debug Mantid though. I suspect that it is because it does not brings SliceViewer up.

WS_Name = 'CNCS_7860_event'
Load(Filename='CNCS_7860_event.nxs',OutputWorkspace=WS_Name )
ConvertUnits(InputWorkspace=WS_Name,OutputWorkspace=WS_Name,Target='DeltaE',EMode='Direct',EFixed='3')
Rebin(InputWorkspace='CNCS_7860_event',OutputWorkspace=WS_Name,Params='-1,0.05,3',PreserveEvents=True)
SetUB(Workspace=WS_Name,a='5.4165',b='5.4165',c='5.4165',u='1,0,0',v='0,1,0')
#AddSampleLog(Workspace=WS_Name,LogName='Ei',LogText='3',LogType='Number')

for i in range(0,20,1):
    TWS='MD1'
    for i in range(0,20,5):
        CloneWorkspace(InputWorkspace=WS_Name,OutputWorkspace='preMDpart'+str(i))
        AddSampleLog(Workspace='preMDpart'+str(i),LogName='Psi',LogText=str(i),LogType='Number Series')
        SetGoniometer(Workspace='preMDpart'+str(i),Axis0='Psi,0,1,0,1')
        ConvertToMDEvents(InputWorkspace='preMDpart'+str(i),OutputWorkspace='MDpart'+str(i),QDimensions='QhQkQl',u="1,0,0",v="0,1,0",dEAnalysisMode='Direct',MinValues='-2,-2,-3,-1',MaxValues='2,2,3,3',SplitInto="20,20,1,1")
    PlusMD(LHSWorkspace='MDpart0',RHSWorkspace='MDpart5',OutputWorkspace=TWS)
    PlusMD(LHSWorkspace=TWS,RHSWorkspace='MDpart10',OutputWorkspace=TWS)
    PlusMD(LHSWorkspace=TWS,RHSWorkspace='MDpart15',OutputWorkspace=TWS)
    plotSlice(TWS, xydim=["Q1","Q2"],slicepoint=[0,0] )
@abuts
Copy link
Member Author

abuts commented Jun 3, 2015

This issue was originally trac ticket 4516

@abuts abuts added High Priority An issue or pull request that if not addressed is severe enough to postponse a release. Mantid labels Jun 3, 2015
@abuts abuts added this to the Release 2.1 milestone Jun 3, 2015
@abuts abuts closed this as completed Jun 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
High Priority An issue or pull request that if not addressed is severe enough to postponse a release.
Projects
None yet
Development

No branches or pull requests

1 participant