Skip to content

Commit

Permalink
getExpDataByURL(File)
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-matthewb committed Oct 4, 2024
1 parent fb4dd64 commit cd77b1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assay/src/org/labkey/assay/AssayController.java
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ public ApiResponse execute(SimpleApiJsonForm form, BindException errors) throws
duplicate = true;
FileLike newFile = AssayFileWriter.findUniqueFileName(fileName, targetDirectory);
newFileNames.add(i, newFile.getName()); // will infer duplication by whether an element exists at that position or not
ExpData expData = ExperimentService.get().getExpDataByURL(f.toURI().toString(), null);
ExpData expData = ExperimentService.get().getExpDataByURL(f.toNioPathForRead().toFile(), null);
List<String> runNames = new ArrayList<>();
if (expData != null)
{
Expand Down

0 comments on commit cd77b1a

Please sign in to comment.