This project is mirrored from https://github.com/mantidproject/mantid.git. Pull mirroring updated .
  1. 17 Sep, 2020 5 commits
    • Gemma Guest's avatar
      Add missing unit tests for state gui model wavelengths · 03927f69
      Gemma Guest authored
      - Ensure all wavelength models are updated
      - Add test for default if enum is NOT_SET
      
      Re #29441
      03927f69
    • Gemma Guest's avatar
      1ff2deab
    • Gemma Guest's avatar
      Ensure rebin params use lin/log wavelength step type · 2b1a6990
      Gemma Guest authored
      This is not really applicable here, at least for transmissions, because the wavelength step should only ever be lin/log anyway, but for consistency/clarity use the function that converts RANGE_LIN/RANGE_LOG to LIN/LOG when constructing rebin strings to avoid missing a case that should be LOG but is actually RANGE_LOG. This could use some tidying - we should probably have a separate enum class with only the valid values here. But that is beyond the scope for this PR.
      
      Re #29441
      2b1a6990
    • Gemma Guest's avatar
      Remove spurious setter in StateConvertToQ · 4eb890e2
      Gemma Guest authored
      This does not seem to be used anywhere and I think wavelength_step_type is n/a for conversion to Q anyway
      
      Re #29441
      4eb890e2
    • Gemma Guest's avatar
      Add function to return wavelength step type as LIN/LOG only · 5ff37169
      Gemma Guest authored
      This is slightly messy because the RangeStepType enum is being used directly from the state objects to provide inputs to the workflow algorithm, but the algorithm does not support all of the values in the enum. This should probably be tidied up properly at some point because it is an overly complex way of essentially just specifying whether a -1 should be applied to the rebin params for log steps.
      
      For now, I have fixed the problem by replacing the wavelength_step_type used by the algorithms with a new property wavelength_step_type_property_string, which converts RANGE_LIN/RANGE_LOG to LIN/LOG.
      
      Re #29441
      5ff37169
  2. 15 Sep, 2020 14 commits
  3. 14 Sep, 2020 16 commits
  4. 11 Sep, 2020 5 commits