Ticket #4670 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Exception when viewing ~1D MDHistoWorkspace in Vates Simple GUI

Reported by: Janik Zikovsky Owned by: Michael Reuter
Priority: minor Milestone: Release 2.1
Component: VATES Keywords:
Cc: Blocked By:
Blocking: Tester: Owen Arnold

Description

  • Make a ~1D line from a 3D MDWS:
    ######################################################################
    #Python Script Generated by GeneratePythonScript Algorithm
    ######################################################################
    LoadEventNexus(Filename=r'/home/8oz/Code/Mantid/Test/AutoTestData/CNCS_7860_event.nxs',OutputWorkspace='cncs_nxs')
    ConvertToDiffractionMDWorkspace(InputWorkspace='cncs_nxs',OutputWorkspace='cncs',LorentzCorrection='1')
    OneStepMDEW(Filename=r'/home/8oz/Code/Mantid/Test/AutoTestData/CNCS_7860_event.nxs',OutputWorkspace='cncs')
    BinMD(InputWorkspace='cncs',AxisAligned='0',BasisVectorX='X,units,0.886648,0.462446,0,1.48174,100',BasisVectorY='Y,units,-0.462446,0.886648,0,2.36821,10',BasisVectorZ='Z,units,-0,-0,1,2.36821,10',Origin='-0.173824,-1.40534,-1.18411',OutputWorkspace='cncs_line2')
    
  • Right-click on cncs_line to view in VSG.
  • I get a "exception thrown" and Terminate/Continue.

The workspace actually has 3 dimensions, but only one of them is not integrated. IMDWorkspace->getNonIntegratedDimensions().size() might be a better way to judge if it can be plotted.

Change History

comment:1 Changed 9 years ago by Janik Zikovsky

See also #4671 since it probably would be nice to view the 1D line in 3D space.

comment:2 Changed 9 years ago by Michael Reuter

  • Status changed from new to accepted

comment:3 Changed 9 years ago by Michael Reuter

Refs #4670. Using non-integrated dimension check.

Changeset: 46f2f33b12a0d6eab114ae132c3b6867e5e1476c

comment:4 Changed 9 years ago by Michael Reuter

  • Status changed from accepted to verify
  • Resolution set to fixed

To test, don't use the above prescription exactly as above. The resulting workspace does not actually have two of the three dimensions integrated. Use the following:

LoadEventNexus(Filename=r'CNCS_7860_event.nxs',OutputWorkspace='cncs_nxs')
ConvertToDiffractionMDWorkspace(InputWorkspace='cncs_nxs',OutputWorkspace='cncs',LorentzCorrection='1')
BinMD(InputWorkspace='cncs',AxisAligned='0',BasisVectorX='X,units,0.886648,0.462446,0,1.48174,100',BasisVectorY='Y,units,-0.462446,0.886648,0,2.36821,1',BasisVectorZ='Z,units,-0,-0,1,2.36821,1',Origin='-0.173824,-1.40534,-1.18411',OutputWorkspace='cncs_line2')

comment:5 Changed 9 years ago by Michael Reuter

Refs #4670. Using non-integrated dimension check.

Changeset: 46f2f33b12a0d6eab114ae132c3b6867e5e1476c

comment:6 Changed 8 years ago by Owen Arnold

  • Status changed from verify to verifying
  • Tester set to Owen Arnold

comment:7 Changed 8 years ago by Owen Arnold

  • Status changed from verifying to closed

Works

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5517

Note: See TracTickets for help on using tickets.