SaveNexusProcessed and LoadNexusProcessed changes masked detectors #8881
Labels
Framework
Issues and pull requests related to components in the Framework
High Priority
An issue or pull request that if not addressed is severe enough to postponse a release.
Stale
This label is automatically applied to issues that are automatically closed by the stale bot
This issue was originally TRAC 8036
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.
The text was updated successfully, but these errors were encountered: