Pete Peterson

Results 16 issues of Pete Peterson

### Description of work Since `std::optional` is part of C++17, move the easy parts of mantid to use it. This does not modify [Framework/Geometry/inc/MantidGeometry/Crystal/MatrixVectorPairParser.h](https://github.com/mantidproject/mantid/blob/main/Framework/Geometry/inc/MantidGeometry/Crystal/MatrixVectorPairParser.h) or the ISISReflectometryGUI code. `Framework/API/inc/MantidAPI/AlgorithmProperties.h` was...

Maintenance

In interest of using compiler features over library features, move from [boost::optional](https://www.boost.org/doc/libs/1_65_1/libs/optional/doc/html/index.html) to [std::optional](https://en.cppreference.com/w/cpp/utility/optional) which has been in the language since C++17. Like other things that have been matured in...

Maintenance

The [ADS exposes several methods](https://docs.mantidproject.org/nightly/api/python/mantid/api/AnalysisDataServiceImpl.html) where the names of workspaces become python variable names and is [described in the user documentation](https://docs.mantidproject.org/nightly/concepts/WorkingWithWorspaces.html). The general rules are ([taken from](https://pythonguides.com/python-naming-conventions/)) * Names are...

**Describe the outcome that is desired.** As of C++17 [std:filesystem](https://en.cppreference.com/w/cpp/header/filesystem) has the necessary functionality for most filesystem operations. Move from using Poco to using the std library. **Recipies for migrating**...

Maintenance

**Describe the outcome that is desired.** Some time ago we switched all of our static analysis to use [ruff](https://docs.astral.sh/ruff/) which is configured [here](https://github.com/mantidproject/mantid/blob/main/pyproject.toml#L4). Remove the pylint configuration from the builds,...

Maintenance
ISIS Team: Core

[end-of-file-fixer](https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#end-of-file-fixer) is a built-in that "[m]akes sure files end in a newline and only a newline." This is to make using simple command-line tools like `cat`, `diff`, and `vi` render...

Maintenance