Ticket #8036 (assigned)

Opened 7 years ago

Last modified 5 years ago

SaveNexusProcessed and LoadNexusProcessed changes masked detectors

Reported by: Wenduo Zhou Owned by:
Priority: critical Milestone: Backlog
Component: Framework Keywords:
Cc: Blocked By:
Blocking: Tester:


The defect is found while running the attached script. As the final result of the script, the result of the division in last step (stored in workspace NOM_18251) has non-zero uncertainties. But do the division between 2 workspaces that are loaded from the saved Nexus file (NOM_18250_Foc.nxs and NOM_18251_Foc.nxs) in this script renders a result with zero uncertainties. Theoretically, it should be the same as 'NOM_18251'.

Some investigation was made. And it is found that the detectors in the workspace loaded from the processed Nexus files are flagged as 'masked'. Thus algorithm BinaryOperation just put ZERO (value and uncertainties) in the output workspace.

Thus the problem must occur in either LoadNexusProcessed or SaveNexusProcessed when they deal with some spectra with multiple detectors, among which some detectors are masked.


problem.py (3.8 KB) - added by Wenduo Zhou 7 years ago.

Change History

Changed 7 years ago by Wenduo Zhou

comment:1 Changed 7 years ago by Nick Draper

  • Status changed from new to assigned

Bulk move to assigned at the introduction of the triage step

comment:2 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 8881

Note: See TracTickets for help on using tickets.