This project is mirrored from https://github.com/mantidproject/mantid.git.
Pull mirroring updated .
- 22 Sep, 2021 2 commits
-
-
David Fairbrother authored
Fixes instances with missing assignment operator or copy constructor. These are dangerous cases with dynamic memory as it's not obvious what will happen, but the compiler will try anyway. In many cases we can simply switch to unique_ptr or disable the copy when it makes sense. But one or two cases required additional thought. This fixes several memory leaks or sources of corruption if the fields fall out of sync
-
David Fairbrother authored
These are various places where cppcheck now understands c++-17, or we have improve our code
-
- 17 Sep, 2021 2 commits
-
-
Mathieu Tillet authored
Because of compatibility reasons for wrongly fomatted data, omega scans from D16 need to be loaded as histogram instead of point data. This requires in turn some adjustements to existing algorithm using this kind of data.
-
Mathieu Tillet authored
When loading metadata, check if a property is already present before trying to add it, so that the loading can carry on with a simple warning instead of failing altogether.
-
- 16 Sep, 2021 5 commits
-
-
Zhang, Chen authored
-
Dominik Arominski authored
-
Dominik Arominski authored
-
Zhang, Chen authored
-
David Fairbrother authored
Modernises the codebase from nested workspaces to modern form. E.g.: namespace A{ namespace B {} } Becomes namespace A::B{ } This will allow us to specify in the coding standards to prefer the simple form instead
-
- 15 Sep, 2021 2 commits
-
-
Danny Hindson authored
-
Danny Hindson authored
The unit tests SetCrystalLocationTest, LoadEventNexusTest were failing due to some detectors in the input nexus file not having a corresponding workspace index. This showed up as the pixelID_to_wi_vector vector having std::numeric_limits<size_t>::max() as the wi value I've added check that wi<numEventLists before trying to retrieve the spectrum for wi which is the same check that's done elsewhere in ProcessBankData.cpp If the file BSS_11841_event.nxs had been loaded with compression on this would have caused a crash even before my fix to the sort order
-
- 14 Sep, 2021 1 commit
-
-
Danny Hindson authored
The LoadEventNexus algorithm is run without compression and the events in the Nexus file are not already sorted by pulse time, the algorithm is incorrectly labelling them as sorted by pulse time. This change fixes the problem by always looping through the "used" detectors even if loading without compression This problem was causing FilterByTime to incorrectly slice up an event file by time. A lot of events were assigned to the last second of a run when slicing by time
-
- 13 Sep, 2021 7 commits
-
-
David Fairbrother authored
Fixes clang-tidy not recognising the access to the debug string, which was protected behind the macro
-
David Fairbrother authored
Changes any non-const pointers which can be const qualified. This should help especially with cppcheck, as the latter is very sensitive to this change
-
David Fairbrother authored
Removes instances of std::move where: - We have a constant argument - For trivial types - For cr-types
-
David Fairbrother authored
Replaces const refs with std::move, so that the compiler can choose between copy elision, refs or a cheap move
-
David Fairbrother authored
Fixes many pass-by-val instances by replacing them with by-ref
-
Walsh, Michael authored
-
Walsh, Michael authored
-
- 08 Sep, 2021 5 commits
-
-
Walsh, Michael authored
-
Walsh, Michael authored
-
Walsh, Michael authored
-
Tom Hampson authored
-
Guillaume Communie authored
* [CANSAS] remove dead code * [CANSAS] append spectra as <SASdata> entries * [CANSAS] >1 histogram workspace can be exported * [CANSAS] create <SASData> of particular histogram * [CANSAS] loop over all histograms * [CANSAS] possibility to change filename * [CANSAS] change filename for histograms * [CANSAS] axis value and unit if not spectrum axis * [CANSAS] mention OneSpectrumPerFile in doc * [CANSAS] unit test for OneSpectrumPerFile * [CANSAS] solve bug when no extension provided * [CANSAS] add case for text axis * [CANSAS] add case for bin edge axis * [SAVEASCII] handle text and bin edge axis * [SAVEASCII] alphabetic order * [SAVEASCII] formatting * [CANSAS] formatting * [CANSAS] formatting * complete unit tests for save cansas v2 * unit tests for one spectrum per file for ascii * no scientific notation for the file names * added relase note Co-authored-by:
gvardany <gagikvar@gmail.com>
-
- 07 Sep, 2021 1 commit
-
-
Walsh, Michael authored
-
- 06 Sep, 2021 1 commit
-
-
Mathieu Tillet authored
-
- 24 Aug, 2021 1 commit
-
-
Guillaume Communie authored
-
- 23 Aug, 2021 10 commits
-
-
Guillaume Communie authored
-
Guillaume Communie authored
-
Guillaume Communie authored
-
Guillaume Communie authored
-
Guillaume Communie authored
-
Guillaume Communie authored
-
Guillaume Communie authored
-
Guillaume Communie authored
-
Guillaume Communie authored
-
Guillaume Communie authored
-
- 20 Aug, 2021 2 commits
-
-
Guillaume Communie authored
-
Guillaume Communie authored
-
- 19 Aug, 2021 1 commit
-
-
Anthony authored
Co-authored-by:
Silke Schomann <74243814+SilkeSchomann@users.noreply.github.com>
-