Ticket #5733 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

Custom view modes with MDEventWorkspaceInputs

Reported by: Owen Arnold Owned by: Nick Draper
Priority: major Milestone: Release 2.6
Component: GUI Keywords:
Cc: Blocked By:
Blocking: Tester: Owen Arnold

Description (last modified by Nick Draper) (diff)

There is an option on the rebinning filter, checked by default, called something like 'Output Histogram Workspace', which switches between rebinning using SliceMD and BinMD. The visualised output workspaces look the same, but the user can take the output workspace forward for quantification if it's a full MDEventWorkspace. The ThreeSlice and MultiSlice tools do not work well with outputs of this type. I'm getting empty output windows in the VSI when switching to these modes in three slice, and empty output windows when applying slices in multislice mode.

Change History

comment:1 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.3 to Release 2.4

Moved to milestone 2.4

comment:2 Changed 8 years ago by Michael Reuter

  • Milestone changed from Release 2.4 to Release 2.5

comment:3 Changed 7 years ago by Nick Draper

  • Milestone changed from Release 2.5 to Release 2.6

Moved to r2.6 at the end of r2.5

comment:4 Changed 7 years ago by Michael Reuter

  • Status changed from new to accepted

comment:5 Changed 7 years ago by Michael Reuter

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

This now seems to work in the SliceMD case as it always worked in the BinMD case. With large datasets, the SliceMD route is quite slow, but it does work.

comment:6 Changed 7 years ago by Owen Arnold

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

comment:7 Changed 7 years ago by Owen Arnold

  • Status changed from verifying to reopened
  • Resolution worksforme deleted
  • Description modified (diff)
CreateMDWorkspace(Dimensions='3',EventType='MDEvent',Extents='-1,1,-1,1,-1,1',Names='a,b,c',Units='a,b,c',OutputWorkspace='w')
FakeMDEventData(InputWorkspace='w',UniformParams='1000')
SliceMD(InputWorkspace='w',AlignedDim0='a,-1,1,10',AlignedDim1='b,-1,1,10',AlignedDim2='c,-1,1,10',OutputWorkspace='w')
  • Open 'w' in VSI
  • Click Rebin Button
  • Uncheck 'Output Histo Workspace' on Rebin properties
  • Click Apply -> Shows good output in Standard View, note that 'w_visual_md' is created in the workspace list, which is of type MDEventWorkspace, not MDHistoWorkspace.
  • Now open the 3 slice view -> Nothing shows
  • Now try the multi slice view -> Nothing shows

These tests were performed on version 2.5 on Mantid.

comment:8 Changed 7 years ago by Michael Reuter

  • Status changed from reopened to accepted

comment:9 Changed 7 years ago by Michael Reuter

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

Even following the new procedure, this still works for me on both development and 2.5.0 Mantid. I can see things in both the multislice and threeslice views. I tested on both Windows and Ubuntu. I cannot reproduce the error. If this problem persists, you'll have to fix it.

comment:10 Changed 7 years ago by Michael Reuter

OK. I noticed something odder about this. The first view of the data was fine, but if I switched back to standard view and then back to either MS or TS, the view was messed up. However, switching to SplatterPlot and back "fixed" the view again. I've got another discussion about an issue with generated data that needs to resolved before I decide what to do next.

comment:11 Changed 7 years ago by Alex Buts

  • Status changed from verify to verifying
  • Tester changed from Owen Arnold to Alex Buts

comment:12 Changed 7 years ago by Alex Buts

  • Status changed from verifying to closed

There is some strange thing happening when min-max for the test workspace are not set correctly but switching from BinMD to SliceMD and back occurs seamlessly.

And I would comment on those oddities when used to the interface better.

comment:13 Changed 7 years ago by Nick Draper

  • Status changed from closed to reopened
  • Resolution worksforme deleted
  • Description modified (diff)

Reopened, and resolved again for owen to test

comment:14 Changed 7 years ago by Nick Draper

  • Owner changed from Michael Reuter to Nick Draper
  • Status changed from reopened to verify
  • Resolution set to fixed

comment:15 Changed 7 years ago by Nick Draper

  • Component changed from VATES to User Interface

comment:16 Changed 7 years ago by Owen Arnold

  • Status changed from verify to verifying
  • Tester changed from Alex Buts to Owen Arnold

comment:17 Changed 7 years ago by Owen Arnold

  • Status changed from verifying to closed

Following the exact procedure that I reported (comment 7) on the release candidate, I have not been able to trigger this problem again.

comment:18 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 6579

Note: See TracTickets for help on using tickets.