Skip to content

Commit

Permalink
inAssayData(File)
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-matthewb committed Oct 7, 2024
1 parent cd77b1a commit 1dcf533
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion experiment/src/org/labkey/experiment/api/ExpRunImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,8 @@ public void archiveDataFiles(User user)

private boolean inAssayData(File file) throws ExperimentException
{
return file.getParentFile().equals(AssayFileWriter.ensureUploadDirectory(getContainer()));
var uploadDir = AssayFileWriter.ensureUploadDirectory(getContainer()).toNioPathForWrite().toFile();
return file.getParentFile().equals(uploadDir);
}

/**
Expand Down

0 comments on commit 1dcf533

Please sign in to comment.