Skip to content

Conversation

@vagisha
Copy link
Collaborator

@vagisha vagisha commented Feb 10, 2025

Rationale

Issue 46118: java.nio.file.NoSuchFileException from SpecLibValidator.getPath()
For spectrum library source files we look in the "RawFiles" directory of all subfolders that have documents with the library, as well as the parent experiment folder. The exception is caused if "RawFiles" no longer exits in one of the folders being searched.

Changes

  • Don't search for files in the "RawFiles" directory if it does not exist (e.g., if it was deleted by user) in the container.
  • Added test, and test files

…getPath()

For spectrum library source files we look in the "RawFiles" directory of all subfolders that have documents with the library, as well as the parent experiment folder.
- Skip the "RawFiles" directory if it does not exist (e.g., if it was deleted by user) in the container.
- Added test, and test files
Co-authored-by: Josh Eckels <jeckels@labkey.com>
@vagisha vagisha merged commit 0e85609 into release24.11-SNAPSHOT Feb 14, 2025
1 check passed
@vagisha vagisha deleted the 24.11_fb_46118_NoSuchFileException-RawFiles branch February 14, 2025 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants