Ticket #3698 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Instrument View: Selecting a detector that isn't in the workspace masks the first spectrum

Reported by: Russell Taylor Owned by: Russell Taylor
Priority: major Milestone: Iteration 30
Component: MantidPlot Keywords:
Cc: Blocked By:
Blocking: Tester: Roman Tolchenov

Description

i.e. workspace index 0 is masked if a detector selected does not have

This is because the map InstrumentActor::m_id2wi_map is in several places being accessed via operator[] in what should just be a read, so it's adding entries with 0 as the second member of the pair when called with detectors that aren't in it.

Change History

comment:1 Changed 9 years ago by Russell Taylor

  • Status changed from new to accepted

comment:2 Changed 9 years ago by Russell Taylor

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

In [14568]:

Fixes #3698.

comment:3 Changed 9 years ago by Roman Tolchenov

  • Status changed from verify to verifying
  • Tester set to Roman Tolchenov

comment:4 Changed 9 years ago by Roman Tolchenov

  • Status changed from verifying to closed

Tested on a GEM file. On the pick tab's info screen I can pick detectors corresponding to ws index 0 and detectors for which ws index is None.

comment:5 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 4545

Note: See TracTickets for help on using tickets.