Skip to content
Snippets Groups Projects
Commit 0ea98677 authored by Neil Vaytet's avatar Neil Vaytet
Browse files

Refs #23755: lowercase extensions and isXML function

- changed the directory search for instruments back to only searching inside `getInstrumentDirectories()`
- created a new `FileDescriptor` function `isXML()` to determine if a file is of XML type (currently this is true if the file is Ascii and has an ".xml" extension)
- made `FileDescriptor.extension()` to always be lowercase
- created new functions `toLower()` and `toUpper()` in `Kernel::Strings` to convert input strings to lowercase/uppercase
- added a test for `LoadEmptyInstrument` where `LOKI` is loaded from instrument name
parent 89902ca8
No related merge requests found
Showing
with 88 additions and 41 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment