Ticket #5566 (closed: worksforme)

Opened 8 years ago

Last modified 5 years ago

[IndDiff] - Input Validation / Wiki Instructions / General Check

Reported by: Peter Parker Owned by: Dan Nixon
Priority: major Milestone: Release 3.3
Component: Framework Keywords: IndDiff
Cc: Blocked By:
Blocking: Tester: Roman Tolchenov

Description (last modified by Samuel Jackson) (diff)

From Spencer:

IRIS data for diffspec option.

The d-spacing option is confusing in that the instructions state:

Rebin (mandatory for IRIS) - specify parameters for the Rebin algorithm, to be applied in dSpacing. You may leave these fields blank to forego rebinning.

"Mandatory for IRIS" is inconsistent with leaving fields blank isn't it?

I left them blank and got

ValueError: Invalid value for property InputWorkspace (MatrixWorkspace) "irs26176": The workspace must have common bin boundaries for all histograms at line 12 in '<Interface>'
caused by line 494 in 'C:/MantidInstall/scripts\reduction\reducer.py'
caused by line 763 in 'C:/MantidInstall/scripts/Inelastic\inelastic_indirect_reduction_steps.py'
caused by line 842 in 'C:/MantidInstall/scripts/Inelastic\inelastic_indirect_reduction_steps.py'
caused by line 41 in 'C:/MantidInstall/bin\mantidsimple.py'
caused by line 1071 in 'C:/MantidInstall/bin\MantidFramework.py'
caused by line 1046 in 'C:/MantidInstall/bin\MantidFramework.py'

We need to ensure that the input validation is as robust for IRIS/TOSCA as it is for OSIRIS, and that the wiki is correct and up-to-date.

Change History

comment:1 Changed 8 years ago by Peter Parker

Refs #5566 - Fix bug in case where user only inputs one run (OSIRIS).

Also, raise exceptions where we were previously reporting to log and calling sys.exit().

Changeset: 1bd46c7231fd2fb600ee0839d6d060c40744e45d

comment:2 Changed 8 years ago by Peter Parker

Refs #5566 - Fix bug in case where user only inputs one run (OSIRIS).

Also, raise exceptions where we were previously reporting to log and calling sys.exit().

Changeset: 1bd46c7231fd2fb600ee0839d6d060c40744e45d

comment:3 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.2 to Release 2.3

Moved at the end of release 2.2

comment:4 Changed 8 years ago by Peter Parker

Update:

Under the guidance of Franz Demmel (OSIRIS instrument scientist at ISIS) earlier in the year, I overhauled the OSIRIS section of the Indirect Diffraction interface.

As part of this work, the input validation and underlying Python code became a lot more robust / stable, resulting in far fewer errors, etc. I also updated the Wiki to better represent the functionality offered.

To proceed on this ticket, and to get the parts up to a similar standard, I feel that getting a better understanding of the underlying code for IRIS/TOSCA is crucial. Spencer's comment about the d-spacing is valid and should addressed.

comment:5 Changed 8 years ago by Peter Parker

  • Keywords IndDiff added

comment:6 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.3 to Release 2.4

Moved to milestone 2.4

comment:7 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.4 to Release 2.5

Moved at the code freeze for release 2.4

comment:8 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:9 Changed 7 years ago by Nick Draper

  • Component changed from Mantid to Framework

comment:10 Changed 7 years ago by Nick Draper

  • Milestone changed from Release 2.6 to Backlog

Moved to backlog at the code freeze for R2.6

comment:11 Changed 7 years ago by Samuel Jackson

  • Owner changed from Peter Parker to Samuel Jackson
  • Description modified (diff)

comment:12 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:13 Changed 6 years ago by Nick Draper

  • Owner changed from Samuel Jackson to Dan Nixon

comment:14 Changed 6 years ago by Dan Nixon

  • Milestone changed from Backlog to Release 3.3

comment:15 Changed 6 years ago by Dan Nixon

I've tested the rebinning option with IRIS and found it to work both when providing options and leaving blank, so have removed the mandatory note from the Wiki.

I agree that the diffraction interface could do with being cleaned up (both UI and IRIS/TOSCA algorithm) and have opened a ticket for that (#10215).

Last edited 6 years ago by Dan Nixon (previous) (diff)

comment:16 Changed 6 years ago by Dan Nixon

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

I've opened another ticket for the refactoring (#10215).

The worksforme resolutions is due to the fact I can perform a diffration reduction with IRIS data without rebinning and do not get the error.

comment:17 Changed 6 years ago by Roman Tolchenov

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

comment:18 Changed 6 years ago by Roman Tolchenov

  • Status changed from verifying to closed

comment:19 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 6412

Note: See TracTickets for help on using tickets.