Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/mantidproject/mantid.git. Pull mirroring updated .
  1. Apr 08, 2020
  2. Apr 07, 2020
    • Gemma Guest's avatar
      Move helper functions into a class · c0aee984
      Gemma Guest authored
      This means we can hide the parsing function that takes an xml string from the public interface and add a friend class to test this.
      It also means that getRuns() can be called multiple times with different criteria without having to re-parse the file.
      
      Re #26897
      c0aee984
    • Giovanni Di Siena's avatar
      Replace boost::shared with std::shared · 11994bc3
      Giovanni Di Siena authored and Gigg, Martyn Anthony's avatar Gigg, Martyn Anthony committed
      In places other substitutions have been made, e.g
      Clang does not yet specialize std::shared_ptr for T[]. Vector
      has been used instead. The operator[] methods were incorrectly
      marked const but returning a non-const reference - this has been fixed.
      Refs #25842
      11994bc3
  3. Apr 06, 2020
    • Gemma Guest's avatar
      Add helper file for parsing an ISIS journal file · 4c9fcf6e
      Gemma Guest authored
      Adds a couple of generic functions for requesting data from a journal. The main work is done by a function that takes the file contents as a string so that this can be easily tested. A wrapper function allows the file to first be fetched from a URL constructed for the instrument and cycle.
      
      Also adds a couple of functions for requesting the list of cycles, again with one function taking the file contents and another which finds the URL for the instrument.
      
      Re #26897
      4c9fcf6e
  4. Apr 01, 2020
  5. Mar 31, 2020
  6. Mar 26, 2020
  7. Mar 25, 2020
  8. Mar 24, 2020
  9. Mar 23, 2020
  10. Mar 20, 2020
  11. Mar 06, 2020
  12. Mar 05, 2020
  13. Mar 03, 2020
  14. Feb 28, 2020
  15. Feb 17, 2020
  16. Feb 13, 2020
    • Danny Hindson's avatar
      Incorporate review comments and fill in some more documentation · 2172edd3
      Danny Hindson authored
      Remove commented out code in LoadStlFactory.h
      Remove redundant inline specifier from MeshFileIO and redundant clauses
      in switch statements
      Edits to two documentation files that are impacted by the addition of the
      stl path feature to the environment definition .xml files
      2172edd3
  17. Feb 12, 2020
    • Danny Hindson's avatar
      Changes to support loading multi-part mesh environment from spec xml file · 7a20e4dd
      Danny Hindson authored
      The format of the sample environment xml file has been extended to support
      loading a .stl file for each environment component. An example spec file
      has been created in ISIS/Pearl.xml. This can be used when running the
      Algorithm SetSample
      Various SampleEnvironmentXXX units have been moved out the Geometry package
      into the DataHandling package to facilitate this because they needed to
      access the STL loading code in DataHandling
      SetSample contains some features for overriding the sample geometry if the
      geometry is a CSGObject. This has been sidestepped for mesh geometries.
      The methods setId and setMaterial have been moved up to IObject because
      it's useful to have them applicable to all objects (CSG, mesh)
      Some of the repeated code in SetSample, LoadSampleEnvironment (and now
      SampleEnvironmentSpecParser) has been centralised in a new class LoadStlFactory
      Also changed container logic so that if there's only one container specified
      in the env spec file you don't need to specify it in SetSample
      Centralise code relating to scaling mesh vertices and handling of units
      into the LoadShape class and rename it MeshFileIO now that SaveStl is also
      descended from this class
      Move repeated code to choose Ascii or binary STL reader into a factory class
      7a20e4dd
  18. Feb 11, 2020
Loading