First implementation of changes
1. IDS mangling used for checksum is now inst name + sha1 of xml 1.1. sha1 is computed after converitng to linux line endings and trim 1. VTP file names changes to be same filename as IDS mangling 1. VTP save directory moved to appdata/mantidproject/instrument/geometryCache 1. VTP file saving simplified as files based on a checksum cannot be out of date 1. unit tests updated to account for this 1. unused methods removed from IDFObject 1. InstrumentDefinitionParser changed to initialise during constructor 1. XML parsing changed to lazy load rather than during initialisation. Still to do: 1. cache SHA1 checksum if needed 1. Change the filename reported for nexus files 1. Manually test 1. Stop saving the filename to nexus files 1. update documentation re #11818
Showing
- Code/Mantid/Framework/API/inc/MantidAPI/ExperimentInfo.h 3 additions, 0 deletionsCode/Mantid/Framework/API/inc/MantidAPI/ExperimentInfo.h
- Code/Mantid/Framework/API/src/ExperimentInfo.cpp 34 additions, 21 deletionsCode/Mantid/Framework/API/src/ExperimentInfo.cpp
- Code/Mantid/Framework/DataHandling/src/LoadInstrument.cpp 2 additions, 2 deletionsCode/Mantid/Framework/DataHandling/src/LoadInstrument.cpp
- Code/Mantid/Framework/DataHandling/src/LoadMcStas.cpp 1 addition, 2 deletionsCode/Mantid/Framework/DataHandling/src/LoadMcStas.cpp
- Code/Mantid/Framework/DataHandling/test/LoadNexusProcessedTest.h 2 additions, 4 deletions...ntid/Framework/DataHandling/test/LoadNexusProcessedTest.h
- Code/Mantid/Framework/Geometry/inc/MantidGeometry/Instrument/IDFObject.h 3 additions, 14 deletions...mework/Geometry/inc/MantidGeometry/Instrument/IDFObject.h
- Code/Mantid/Framework/Geometry/inc/MantidGeometry/Instrument/InstrumentDefinitionParser.h 24 additions, 20 deletions...nc/MantidGeometry/Instrument/InstrumentDefinitionParser.h
- Code/Mantid/Framework/Geometry/src/Instrument/IDFObject.cpp 1 addition, 18 deletionsCode/Mantid/Framework/Geometry/src/Instrument/IDFObject.cpp
- Code/Mantid/Framework/Geometry/src/Instrument/InstrumentDefinitionParser.cpp 155 additions, 106 deletions...rk/Geometry/src/Instrument/InstrumentDefinitionParser.cpp
- Code/Mantid/Framework/Geometry/test/IDFObjectTest.h 0 additions, 18 deletionsCode/Mantid/Framework/Geometry/test/IDFObjectTest.h
- Code/Mantid/Framework/Geometry/test/InstrumentDefinitionParserTest.h 66 additions, 104 deletions.../Framework/Geometry/test/InstrumentDefinitionParserTest.h
- Code/Mantid/Framework/Kernel/inc/MantidKernel/ConfigService.h 2 additions, 0 deletions.../Mantid/Framework/Kernel/inc/MantidKernel/ConfigService.h
- Code/Mantid/Framework/Kernel/src/ConfigService.cpp 29 additions, 9 deletionsCode/Mantid/Framework/Kernel/src/ConfigService.cpp
- Code/Mantid/Framework/TestHelpers/src/MDEventsTestHelper.cpp 1 addition, 2 deletionsCode/Mantid/Framework/TestHelpers/src/MDEventsTestHelper.cpp
Loading
Please register or sign in to comment