Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/mantidproject/mantid.git. Pull mirroring updated .
  1. May 23, 2018
  2. May 22, 2018
  3. May 18, 2018
    • Verena Reimund's avatar
      Input validation using runCombinationHelper · 75875411
      Verena Reimund authored
      This fixes the reported problem
      
      - this checks dx values
      - replace push_back by emplace_back
      - cannot use
        m_inputWSMatrix[i].push_back(inputMatrix); for groups
        and
        m_inputWSMatrix[0].push_back(inputMatrix);
        but needed instead use column since boost shared pointer shortcomings?
      - description difficult to understand:
            // Each 'row' are the workspaces belonging to a specific group
            // Each 'column' are the workspaces belonging to a specific period
            // Each 'row' are the workspaces belonging to a specific period
            // GroupWorkspaces
            // Each 'column' are the workspaces belonging to a specific group
         found in same implementation for same matrix, deleted that
      
      Disabled test_two_groups_with_three_workspaces_scale_factor_from_period since failing (periodscalefactors seem wrong), needs fix
      
      Removed processGroups checkGroups, modified history -> may need to be reinserted
      
      Refs #22197
      75875411
  4. May 15, 2018
    • Verena Reimund's avatar
      Some cleanup and enable one failing test · 96bbbbe0
      Verena Reimund authored
      I conclude that the recursive call (Stitch1DMany calls itself) does not work with processGroups: some output from gdb
      
      Stitch1DMany-[Notice] Stitch1DMany started
      GroupWorkspaces-[Notice] GroupWorkspaces successful, Duration 0.00 seconds
      420	      AnalysisDataService::Instance().retrieveWS<Workspace>(groupName);
      419	  m_outputWorkspace =
      420	      AnalysisDataService::Instance().retrieveWS<Workspace>(groupName);
      422	  this->setProperty("OutputWorkspace", m_outputWorkspace);
      (gdb) p m_outputWorkspace
      $22 = {
        px = 0x1894f60,
        pn = {
          pi_ = 0x1894f40
        }
      }
      (gdb) n
      423	  this->setProperty("OutScaleFactors", m_scaleFactors);
      424	  return true;  //!!! STOP HERE??
      412	  IAlgorithm_sptr groupAlg = createChildAlgorithm("GroupWorkspaces");
      368	  std::string outName;
      367	  std::string groupName = this->getProperty("OutputWorkspace");
      366	  std::vector<std::string> toGroup; // List of workspaces to be grouped
      424	  return true;
      425	}
      Mantid::API::Algorithm::doCallProcessGroups (this=0x7fffffffd150, startTime=...) at Algorithm.cpp:1284
      Mantid::API::Algorithm::execute (this=0x7fffffffd150) at Algorithm.cpp:440
      Stitch1DManyTest::test_two_groups_scale_factor_from_period_history (this=0x1867380) at Stitch1DManyTest.h:1230
      1230	    TS_ASSERT(alg.isExecuted());
      1233	    Workspace_sptr outws = alg.getProperty("OutputWorkspace");
      1234	    TS_ASSERT(outws);
      
      In Stitch1DManyTest::test_two_groups_scale_factor_from_period_history:
      Stitch1DManyTest.h:1234: Error: Assertion failed: outws
      
      Refs #22197
      96bbbbe0
    • Verena Reimund's avatar
      Work on init, algorithm property descriptions · 3c3cedbc
      Verena Reimund authored
      - Be more general with regard to input workspaces (e.g. point data)
      - Make tooltips readable in GUI
      - Rename 1, 2 to first and second and explain RHS abbreviation
      - Added Rebin to seeAlso algorithms list? Since mentioned in the properties for format
      - Toggled the RebinParamsValidator to true (can be empty for point data)
      
      Refs #22197
      3c3cedbc
    • Verena Reimund's avatar
      Simplified the code without breaking passing tests · 7d91c451
      Verena Reimund authored
      - not passing tests stay uncommented at the moment
      
      Refs #22197
      7d91c451
  5. May 14, 2018
  6. May 10, 2018
  7. May 09, 2018
  8. May 08, 2018
  9. May 07, 2018
  10. May 04, 2018
  11. May 03, 2018
Loading