New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New IDAaaS data cache index file loading #37187
New IDAaaS data cache index file loading #37187
Commits on Apr 19, 2024
-
Simple barebones for searching new index files
- Created a very simplified implementation and a unit test
Configuration menu - View commit details
-
Copy full SHA for 6525f4e - Browse repository at this point
Copy the full SHA 6525f4eView commit details -
Added setUp and tearDown to tests.
Co-authored-by: thomashampson <thomas.hampson@stfc.ac.uk> Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for 7ea885b - Browse repository at this point
Copy the full SHA 7ea885bView commit details -
Changed implementation from DataHandling to API
- I made the change because header files from DataHandling could not be imported into files in the API, due to DataHandling being missing from target_link_libraries in the CMakeLists.txt API file. Trying to fix this causes a circular dependency. Co-authored-by: thomashampson <thomas.hampson@stfc.ac.uk> Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for 15b0e4c - Browse repository at this point
Copy the full SHA 15b0e4cView commit details -
Rough sketch of implementation after looking for data archive
Co-authored-by: thomashampson <thomas.hampson@stfc.ac.uk> Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for d957d59 - Browse repository at this point
Copy the full SHA d957d59View commit details -
Add cache search to the file finder.
- Added section to look for files in hard coded Linux path - Changed search function to use relative paths - Corrected unit test Co-authored-by: thomashampson <thomas.hampson@stfc.ac.uk> Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for 51709aa - Browse repository at this point
Copy the full SHA 51709aaView commit details -
Changing function to handle expanded instr dirs
- The name of the directories in the cache uses the extended version i.e. 'MARI' instead of 'MAR', changed the function to account for this - Changed split into instr and run to handle edge case of 'SANS2D' (digit in instrument name) Co-authored-by: thomashampson <thomas.hampson@stfc.ac.uk> Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for 3eb656a - Browse repository at this point
Copy the full SHA 3eb656aView commit details -
Add functunality to getInstrument() function
- Function getInstrument() in the ConfigService is used to retrieve the instrument info from a string argument. - The argument of the function is either the name or short name of the instrument - Added option to pass the name or short name + delimiter and retrieve the correct instrument Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for f6fbef1 - Browse repository at this point
Copy the full SHA f6fbef1View commit details -
Added test for delimiter in filename
- Added unit test for case when there is a delimiter between instrument name and run number - Also checks that short name `PG3` gets properly expanded to `POWGEN` Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for d314e24 - Browse repository at this point
Copy the full SHA d314e24View commit details -
- Added some fail proof checks - Added unit tests for these cases Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for 1bfc329 - Browse repository at this point
Copy the full SHA 1bfc329View commit details -
Added unit tests to FileFinder
- Added a test class that creates a dummy directory with the same structure as the data cache and performs unit tests on the path outputs - Introduced safety checks in ISISInstrDataCache to cover for edge cases - Added the data cache path to Mantid properties file Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for 363af4c - Browse repository at this point
Copy the full SHA 363af4cView commit details -
Added exception for missing read permissions
- When user does not have access permissions to a folder, it will print an error informing the user Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for 2a52597 - Browse repository at this point
Copy the full SHA 2a52597View commit details -
Configuration menu - View commit details
-
Copy full SHA for d14df70 - Browse repository at this point
Copy the full SHA d14df70View commit details -
- Deleted unecessary changes that I had made - Replaced instrument finder by one that already accounts for delimiters and other edge cases - Removed unecessary notice() Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for 1a189a0 - Browse repository at this point
Copy the full SHA 1a189a0View commit details -
Added documentation for new mantid property
- Added datacachesearch.directory to properties file documentation Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for 9bbac0c - Browse repository at this point
Copy the full SHA 9bbac0cView commit details
Commits on Apr 22, 2024
-
Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for 914dbaa - Browse repository at this point
Copy the full SHA 914dbaaView commit details
Commits on Apr 23, 2024
-
- Organized catching of exceptions for bad inputs - Added check for when user does not have permission to open directory - Changed logging from notice level to debug level Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for 39c4f3f - Browse repository at this point
Copy the full SHA 39c4f3fView commit details -
- Made a quick fix for the getInstrument function, to make it throw the exception instead of using a default value - Not proud of this fix, but when I tried to take out the exception handling out of getInstrument, a few other things were breaking Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for ba4a50d - Browse repository at this point
Copy the full SHA ba4a50dView commit details
Commits on Apr 24, 2024
-
Update Framework/API/inc/MantidAPI/ISISInstrDataCache.h
Co-authored-by: Jonathan Haigh <35813666+jhaigh0@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 209676e - Browse repository at this point
Copy the full SHA 209676eView commit details -
Change argument flag in getInstrument
Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for 78359ae - Browse repository at this point
Copy the full SHA 78359aeView commit details -
Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for 8ca5dbc - Browse repository at this point
Copy the full SHA 8ca5dbcView commit details -
Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for f826c08 - Browse repository at this point
Copy the full SHA f826c08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 210e7f7 - Browse repository at this point
Copy the full SHA 210e7f7View commit details -
Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for d5cb094 - Browse repository at this point
Copy the full SHA d5cb094View commit details -
Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for d710d64 - Browse repository at this point
Copy the full SHA d710d64View commit details -
Split big function into smaller functions
Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk> Co-authored-by: Caila Finn <caila.finn@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for 024bff9 - Browse repository at this point
Copy the full SHA 024bff9View commit details -
Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for 542df97 - Browse repository at this point
Copy the full SHA 542df97View commit details -
Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for 3c375a8 - Browse repository at this point
Copy the full SHA 3c375a8View commit details -
Reformatted strings and removed unecessary ;
Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for d3ac714 - Browse repository at this point
Copy the full SHA d3ac714View commit details -
Included comment for clarification
Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for ca07ee3 - Browse repository at this point
Copy the full SHA ca07ee3View commit details -
Renamed classes and files to more explicit descriptions
Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for 346cd6c - Browse repository at this point
Copy the full SHA 346cd6cView commit details
Commits on Apr 25, 2024
-
Fixed cppcheck and added unit tests
Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for 47319fc - Browse repository at this point
Copy the full SHA 47319fcView commit details
Commits on Apr 29, 2024
-
Added release note (+ section for Data Handling)
Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for f09f326 - Browse repository at this point
Copy the full SHA f09f326View commit details
Commits on May 9, 2024
-
Cleaned error handling for permission denied
- Check for permission denied is now done inside the loop that directly tries to access files - Added check for non existing parent directory - Improved error message when file is not found whithin parent directory Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for c5d73a2 - Browse repository at this point
Copy the full SHA c5d73a2View commit details -
Added catch for error from parsing json
- If for some reason the index file on IDAaaS is currupted (eg. being updated) then the error is caught - Allows for the search to continue on the archive Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for 46101db - Browse repository at this point
Copy the full SHA 46101dbView commit details -
Fixed include error + cppcheck supressions
Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for 1d03a2e - Browse repository at this point
Copy the full SHA 1d03a2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ca6d6d - Browse repository at this point
Copy the full SHA 3ca6d6dView commit details
Commits on May 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5046005 - Browse repository at this point
Copy the full SHA 5046005View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a4ed15 - Browse repository at this point
Copy the full SHA 8a4ed15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4869c7a - Browse repository at this point
Copy the full SHA 4869c7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 593879d - Browse repository at this point
Copy the full SHA 593879dView commit details